1
0
Fork 0
mirror of https://github.com/pawelmalak/flame.git synced 2025-07-23 05:19:37 +02:00

Fixed infinite data fetching bug on homescreen. Docker files

This commit is contained in:
unknown 2021-06-14 12:13:38 +02:00
parent ff1d11f512
commit ad5e7646c1
4 changed files with 37 additions and 2 deletions

View file

@ -59,14 +59,14 @@ const Home = (props: ComponentProps): JSX.Element => {
if (apps.length === 0) {
getApps();
}
}, [getApps, apps]);
}, [getApps]);
// Load bookmark categories
useEffect(() => {
if (categories.length === 0) {
getCategories();
}
}, [getCategories, categories]);
}, [getCategories]);
// Refresh greeter and time
useEffect(() => {