mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 04:37:11 +01:00
Fixed config fetch.
Some checks are pending
Node.js CI / build (postgresql, 18.18) (push) Waiting to run
Some checks are pending
Node.js CI / build (postgresql, 18.18) (push) Waiting to run
This commit is contained in:
parent
2a559aa661
commit
ffc8f6faae
1 changed files with 1 additions and 1 deletions
|
|
@ -19,7 +19,7 @@ export function useConfig(): Config {
|
||||||
const { get } = useApi();
|
const { get } = useApi();
|
||||||
|
|
||||||
async function loadConfig() {
|
async function loadConfig() {
|
||||||
const { data } = await get(`/config`);
|
const data = await get(`/config`);
|
||||||
|
|
||||||
setConfig(data);
|
setConfig(data);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue