Skip to content

Commit 45d2ab2

Browse files
committed
fix: remove final row during directory search
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.
1 parent 3062286 commit 45d2ab2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/app/view/preview/directorypreview.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ function DirectoryTable({
360360
return;
361361
}
362362
}
363-
}, [data]);
363+
}, [table]);
364364
const columnSizeVars = useMemo(() => {
365365
const headers = table.getFlatHeaders();
366366
const colSizes: { [key: string]: number } = {};

0 commit comments

Comments
 (0)