From 3e08186d7204f3e9996fd691c2c76408b8620a45 Mon Sep 17 00:00:00 2001 From: Aaryan Khandelwal <65252264+aaryan610@users.noreply.github.com> Date: Mon, 3 Apr 2023 18:04:45 +0530 Subject: [PATCH] fix: kanban empty issues (#687) --- apps/app/hooks/use-issues-view.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/app/hooks/use-issues-view.tsx b/apps/app/hooks/use-issues-view.tsx index 6020c4b86..cb3ddb43e 100644 --- a/apps/app/hooks/use-issues-view.tsx +++ b/apps/app/hooks/use-issues-view.tsx @@ -108,7 +108,7 @@ const useIssuesView = () => { const statesList = getStatesList(states ?? {}); const stateIds = statesList.map((state) => state.id); - const emptyStatesObject: { [key: string]: [] } = useMemo(() => ({}), []); + const emptyStatesObject: { [key: string]: [] } = {}; for (let i = 0; i < stateIds.length; i++) { emptyStatesObject[stateIds[i]] = []; }