forked from github/plane
fix: kanban empty issues (#687)
This commit is contained in:
parent
150553d420
commit
3e08186d72
@ -108,7 +108,7 @@ const useIssuesView = () => {
|
|||||||
const statesList = getStatesList(states ?? {});
|
const statesList = getStatesList(states ?? {});
|
||||||
const stateIds = statesList.map((state) => state.id);
|
const stateIds = statesList.map((state) => state.id);
|
||||||
|
|
||||||
const emptyStatesObject: { [key: string]: [] } = useMemo(() => ({}), []);
|
const emptyStatesObject: { [key: string]: [] } = {};
|
||||||
for (let i = 0; i < stateIds.length; i++) {
|
for (let i = 0; i < stateIds.length; i++) {
|
||||||
emptyStatesObject[stateIds[i]] = [];
|
emptyStatesObject[stateIds[i]] = [];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user