fix: remove final row during directory search (#1962)

A bug prevented the final row from being removed while searching for
directory files. Additionally, a console error would come up when the
directory was filtered far enough. This corrects a react dependency so
that is no longer an issue.
This commit is contained in:
Sylvie Crowe 2025-02-14 01:12:41 -08:00 committed by GitHub
parent 3062286cd0
commit 2897053339
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -360,7 +360,7 @@ function DirectoryTable({
return;
}
}
}, [data]);
}, [table]);
const columnSizeVars = useMemo(() => {
const headers = table.getFlatHeaders();
const colSizes: { [key: string]: number } = {};