reafctor: Rely only on the database for themes
This commit makes it so that a user's theme will only be pulled from the database rather than from a weird mix of cookies and the database. This fixes some issues with themes rendering weirdly.
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
<script setup lang="ts">
|
||||
import SettingsDialog from '~/components/Settings/Dialog.vue';
|
||||
|
||||
const { open: sidebarOpen, openSidebar } = useSidebar();
|
||||
const { colorScheme } = useTheme();
|
||||
const { colorScheme } = await useUserSettings();
|
||||
|
||||
useHead({
|
||||
htmlAttrs: {
|
||||
|
||||
Reference in New Issue
Block a user