mirror of
https://github.com/pawelmalak/flame.git
synced 2024-12-23 18:23:10 +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) {
|
if (apps.length === 0) {
|
||||||
getApps();
|
getApps();
|
||||||
}
|
}
|
||||||
}, [getApps, apps]);
|
}, [getApps]);
|
||||||
|
|
||||||
const toggleModal = (): void => {
|
const toggleModal = (): void => {
|
||||||
setModalIsOpen(!modalIsOpen);
|
setModalIsOpen(!modalIsOpen);
|
||||||
|
@ -61,7 +61,7 @@ const Bookmarks = (props: ComponentProps): JSX.Element => {
|
|||||||
if (categories.length === 0) {
|
if (categories.length === 0) {
|
||||||
getCategories();
|
getCategories();
|
||||||
}
|
}
|
||||||
}, [getCategories, categories])
|
}, [getCategories])
|
||||||
|
|
||||||
const toggleModal = (): void => {
|
const toggleModal = (): void => {
|
||||||
setModalIsOpen(!modalIsOpen);
|
setModalIsOpen(!modalIsOpen);
|
||||||
|
Loading…
Reference in New Issue
Block a user