mirror of
https://github.com/umami-software/umami.git
synced 2026-02-06 21:57:16 +01:00
Refactor components. Add refresh button.
This commit is contained in:
parent
d0ca0819c6
commit
d06c077019
12 changed files with 85 additions and 56 deletions
|
|
@ -35,5 +35,5 @@ export default function useFetch(url, params = {}, options = {}) {
|
|||
}
|
||||
}, [url, ...keys, ...update]);
|
||||
|
||||
return { data, error };
|
||||
return { data, error, loadData };
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue