fix: label mutation in peek-overview & issue detail (#3942)

This commit is contained in:
Lakhan Baheti 2024-03-12 19:10:35 +05:30 committed by GitHub
parent 730e556bea
commit 443b93f897
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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<TLabelList> = (props) => {
export const LabelList: FC<TLabelList> = observer((props) => {
const { workspaceSlug, projectId, issueId, labelOperations, disabled } = props;
// hooks
const {
@ -40,4 +41,4 @@ export const LabelList: FC<TLabelList> = (props) => {
))}
</>
);
};
});