mirror of
https://github.com/pawelmalak/flame.git
synced 2024-12-19 08:02:16 +03:00
Fixes for apps and bookmarks tabs
This commit is contained in:
parent
ad5e7646c1
commit
e884c84aa8
@ -53,7 +53,7 @@ const Apps = (props: ComponentProps): JSX.Element => {
|
||||
if (apps.length === 0) {
|
||||
getApps();
|
||||
}
|
||||
}, [getApps, apps]);
|
||||
}, [getApps]);
|
||||
|
||||
const toggleModal = (): void => {
|
||||
setModalIsOpen(!modalIsOpen);
|
||||
|
@ -61,7 +61,7 @@ const Bookmarks = (props: ComponentProps): JSX.Element => {
|
||||
if (categories.length === 0) {
|
||||
getCategories();
|
||||
}
|
||||
}, [getCategories, categories])
|
||||
}, [getCategories])
|
||||
|
||||
const toggleModal = (): void => {
|
||||
setModalIsOpen(!modalIsOpen);
|
||||
|
Loading…
Reference in New Issue
Block a user