mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 04:46:40 +07:00
bump swiperjs, fix types
This commit is contained in:
parent
16689ae3a6
commit
4eb605a398
4 changed files with 9 additions and 7 deletions
|
@ -31,7 +31,7 @@ const Columns: FC<ColumnsProps> = ({
|
|||
|
||||
if (!childs) return;
|
||||
|
||||
const timeout = setTimeout(() => setColumns([...childs]), 150);
|
||||
const timeout = setTimeout(() => setColumns([...childs.values()]), 150);
|
||||
|
||||
return () => clearTimeout(timeout);
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue