mirror of
https://github.com/pawelmalak/flame.git
synced 2026-02-28 01:13:11 +08:00
Fixed infinite data fetching bug on homescreen. Docker files
This commit is contained in:
@@ -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(() => {
|
||||
|
||||
Reference in New Issue
Block a user