mirror of
https://github.com/wukko/cobalt.git
synced 2025-06-12 13:17:45 +02:00
web/settings: move to state folder
This commit is contained in:
@ -16,7 +16,7 @@ export const load: Load = async ({ url }) => {
|
||||
|
||||
if (browser) {
|
||||
const device = (await import('$lib/device')).device;
|
||||
const settings = get((await import('$lib/settings')).default);
|
||||
const settings = get((await import('$lib/state/settings')).default);
|
||||
const deviceLanguage = device.prefers.language;
|
||||
const settingsLanguage = settings.appearance.language;
|
||||
|
||||
|
Reference in New Issue
Block a user