fix: reflect file rename immediately (#227)

This commit is contained in:
Bálint Ujvári committed 2026-03-20 16:02:17 +01:00
1 parent 3031d54272
commit a56a5c3ed8
1 file changed
+1 -1
@@ -257,7 +257,7 @@ export function FileBrowser({ errorMessage, setErrorMessage }: FileBrowserProps)
const sortedKey = sorted.map(f => getFileId(f)).join('|') const sortedKey = sorted.map(f => getFileId(f)).join('|')
// eslint-disable-next-line react-hooks/exhaustive-deps // eslint-disable-next-line react-hooks/exhaustive-deps
const stableSorted = useMemo(() => sorted, [sortedKey]) const stableSorted = useMemo(() => sorted, [sortedKey, files])
const bulk = useBulkActions({ const bulk = useBulkActions({
listToRender, listToRender,