mirror of
https://github.com/wavetermdev/waveterm
synced 2026-05-23 08:48:28 +00:00
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:
parent
3062286cd0
commit
2897053339
1 changed files with 1 additions and 1 deletions
|
|
@ -360,7 +360,7 @@ function DirectoryTable({
|
|||
return;
|
||||
}
|
||||
}
|
||||
}, [data]);
|
||||
}, [table]);
|
||||
const columnSizeVars = useMemo(() => {
|
||||
const headers = table.getFlatHeaders();
|
||||
const colSizes: { [key: string]: number } = {};
|
||||
|
|
|
|||
Loading…
Reference in a new issue