Converted variables to be runtime.

This commit is contained in:
Mike Cao committed 2025-07-24 22:41:23 -07:00
1 parent b6862de2be
commit 5b6292dd11
11 files changed
+46 -36

No files matched your search

+2 -2
View File
@@ -1,8 +1,8 @@
import { useEffect } from 'react';
import useStore, { setConfig } from '@/store/app';
import { getConfig } from '@/app/actions/getConfig';
import { getConfig, Config } from '@/app/actions/getConfig';
export function useConfig() {
export function useConfig(): Config {
const { config } = useStore();
async function loadConfig() {