refactor: useUserSettings uses global state to reduce db calls
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<script setup lang="ts">
|
||||
// TODO: when a user changes the color scheme and then signs in/up, the color
|
||||
// scheme will not be updated in the user's settings.
|
||||
const { colorScheme } = await useUserSettings();
|
||||
const { colorScheme } = useUserSettings();
|
||||
|
||||
useHead({
|
||||
htmlAttrs: {
|
||||
|
||||
Reference in New Issue
Block a user