mirror of
https://github.com/pawelmalak/flame.git
synced 2025-07-26 22:39:36 +02:00
fix bookmarks
This commit is contained in:
parent
349d63c3e3
commit
5fde088001
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ const Bookmarks = (props: ComponentProps): JSX.Element => {
|
|||
});
|
||||
|
||||
useEffect(() => {
|
||||
if (bookmarks.length === 0) {
|
||||
if (!bookmarks || bookmarks.length === 0) {
|
||||
getBookmarks();
|
||||
}
|
||||
}, [getBookmarks]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue