🚑 hotfix for not iterable error
This commit is contained in:
parent
7f5982c342
commit
bb71479614
1 changed files with 1 additions and 1 deletions
|
|
@ -88,7 +88,7 @@ function useSubmenuContextProviders() {
|
|||
setFallbackResults((prev) => ({
|
||||
...prev,
|
||||
file: deduplicateArray(
|
||||
[...openFiles, ...prev.file],
|
||||
[...openFiles, ...(Array.isArray(prev.file) ? prev.file : [])],
|
||||
(a, b) => a.id === b.id,
|
||||
),
|
||||
}));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue