fix: mutation in issue comments

This commit is contained in:
Dakshesh Jain 2022-12-13 14:18:49 +05:30
parent ada68a9bf7
commit b5a33d8f4d
4 changed files with 15 additions and 28 deletions

View file

@ -115,7 +115,7 @@ const IssueDetail: NextPage = () => {
);
const { data: issueComments } = useSWR<IIssueComment[]>(
activeWorkspace && projectId && issueId ? PROJECT_ISSUES_COMMENTS : null,
activeWorkspace && projectId && issueId ? PROJECT_ISSUES_COMMENTS(issueId as string) : null,
activeWorkspace && projectId && issueId
? () =>
issuesServices.getIssueComments(