Fixes for apps and bookmarks tabs

This commit is contained in:
unknown 2021-06-14 12:19:53 +02:00
parent ad5e7646c1
commit e884c84aa8
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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);