Fixed config fetch.
Some checks are pending
Node.js CI / build (postgresql, 18.18) (push) Waiting to run

This commit is contained in:
Mike Cao 2025-09-18 15:38:55 -07:00
parent 2a559aa661
commit ffc8f6faae

View file

@ -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);
} }