From e884c84aa8ad8c71d7dbb8a473c5cf16cb6d15e4 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 14 Jun 2021 12:19:53 +0200 Subject: [PATCH] Fixes for apps and bookmarks tabs --- client/src/components/Apps/Apps.tsx | 2 +- client/src/components/Bookmarks/Bookmarks.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/components/Apps/Apps.tsx b/client/src/components/Apps/Apps.tsx index f02fba6..9f3adff 100644 --- a/client/src/components/Apps/Apps.tsx +++ b/client/src/components/Apps/Apps.tsx @@ -53,7 +53,7 @@ const Apps = (props: ComponentProps): JSX.Element => { if (apps.length === 0) { getApps(); } - }, [getApps, apps]); + }, [getApps]); const toggleModal = (): void => { setModalIsOpen(!modalIsOpen); diff --git a/client/src/components/Bookmarks/Bookmarks.tsx b/client/src/components/Bookmarks/Bookmarks.tsx index b386706..21f37b3 100644 --- a/client/src/components/Bookmarks/Bookmarks.tsx +++ b/client/src/components/Bookmarks/Bookmarks.tsx @@ -61,7 +61,7 @@ const Bookmarks = (props: ComponentProps): JSX.Element => { if (categories.length === 0) { getCategories(); } - }, [getCategories, categories]) + }, [getCategories]) const toggleModal = (): void => { setModalIsOpen(!modalIsOpen);