mirror of
https://github.com/pawelmalak/flame.git
synced 2025-07-27 14:59:37 +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(() => {
|
useEffect(() => {
|
||||||
if (bookmarks.length === 0) {
|
if (!bookmarks || bookmarks.length === 0) {
|
||||||
getBookmarks();
|
getBookmarks();
|
||||||
}
|
}
|
||||||
}, [getBookmarks]);
|
}, [getBookmarks]);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue