fix: use loadedConfig

This commit is contained in:
Ayo Ayco 2024-12-31 01:40:37 +01:00
parent 063bc0567b
commit dba6b6ef84

View file

@ -26,7 +26,7 @@ export function useMcFlyRoute({ storage }) {
name: 'mcfly', name: 'mcfly',
configFile: 'mcfly.config', configFile: 'mcfly.config',
}) })
const config = loadConfig.config ?? { const config = loadedConfig.config ?? {
components: 'js', components: 'js',
} }
const { components: componentType } = config const { components: componentType } = config