diff --git a/web/components/issues/issue-detail/label/label-list.tsx b/web/components/issues/issue-detail/label/label-list.tsx index fdf94be28..093556a34 100644 --- a/web/components/issues/issue-detail/label/label-list.tsx +++ b/web/components/issues/issue-detail/label/label-list.tsx @@ -1,4 +1,5 @@ import { FC } from "react"; +import { observer } from "mobx-react"; // components import { useIssueDetail } from "hooks/store"; import { LabelListItem } from "./label-list-item"; @@ -14,7 +15,7 @@ type TLabelList = { disabled: boolean; }; -export const LabelList: FC = (props) => { +export const LabelList: FC = observer((props) => { const { workspaceSlug, projectId, issueId, labelOperations, disabled } = props; // hooks const { @@ -40,4 +41,4 @@ export const LabelList: FC = (props) => { ))} ); -}; +});