Fix for theme switching.

Closes #4175
Closes #4177
This commit is contained in:
Kavin
2026-03-28 11:41:16 +05:30
parent 9a05e3991e
commit 2386d728e6
4 changed files with 10 additions and 8 deletions

View File

@@ -1,10 +1,11 @@
import { createRouter, createWebHistory } from "vue-router";
import { getHomePage } from "@/composables/useMisc.js";
const routes = [
{
path: "/",
name: "Home",
component: () => import("../components/TrendingPage.vue"),
redirect: () => getHomePage() ?? "/trending",
},
{
path: "/trending",