diff --git a/apps/space/store/issue_details.ts b/apps/space/store/issue_details.ts index ba9554975..68f9af1ca 100644 --- a/apps/space/store/issue_details.ts +++ b/apps/space/store/issue_details.ts @@ -237,10 +237,10 @@ class IssueDetailStore implements IssueDetailStore { removeIssueVote = async (workspaceSlug: string, projectId: string, issueId: string) => { try { - const issueVoteResponse = await this.issueService.deleteIssueVote(workspaceSlug, projectId, issueId); + await this.issueService.deleteIssueVote(workspaceSlug, projectId, issueId); const issueDetails = await this.issueService.getIssueById(workspaceSlug, projectId, issueId); - if (issueVoteResponse) { + if (issueDetails) { runInAction(() => { this.details = { ...this.details,