fix: kanban empty issues (#687)

This commit is contained in:
Aaryan Khandelwal 2023-04-03 18:04:45 +05:30 committed by GitHub
parent 150553d420
commit 3e08186d72
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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]] = [];
}