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:
parent
ff1d11f512
commit
ad5e7646c1
4 changed files with 37 additions and 2 deletions
|
@ -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(() => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue