mirror of
https://github.com/colanode/colanode.git
synced 2025-12-29 00:25:03 +01:00
Fix view fields memo
This commit is contained in:
@@ -50,7 +50,7 @@ export const View = ({ view }: ViewProps) => {
|
||||
})
|
||||
.filter((field) => field.display)
|
||||
.sort((a, b) => compareString(a.index, b.index));
|
||||
}, [database.fields, view.fields]);
|
||||
}, [view.id, database.fields, view.fields]);
|
||||
|
||||
const [isSearchBarOpened, setIsSearchBarOpened] = React.useState(false);
|
||||
const [isSortsOpened, setIsSortsOpened] = React.useState(false);
|
||||
|
||||
Reference in New Issue
Block a user