mirror of
https://github.com/pawelmalak/flame.git
synced 2025-07-21 12:29:36 +02:00
Fixes for apps and bookmarks tabs
This commit is contained in:
parent
ad5e7646c1
commit
e884c84aa8
2 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue