feat: ditch triplit, move to postgresql + drizzle orm
This commit is contained in:
+5
-4
@@ -2,10 +2,11 @@
|
||||
import '~/assets/css/reset.css';
|
||||
import '~/assets/css/base.css';
|
||||
|
||||
const { accent, neutral, hinting } = useUserSettings();
|
||||
|
||||
// by default, disable hinting
|
||||
if (Number.isNaN(Number(hinting.value))) hinting.value = '0';
|
||||
const { user } = useAuth();
|
||||
const { accent, neutral, hinting, refresh: refreshSettings } = await useUserSettings();
|
||||
watch(user, () => {
|
||||
refreshSettings();
|
||||
})
|
||||
|
||||
watchEffect(() => {
|
||||
useHead({
|
||||
|
||||
Reference in New Issue
Block a user