Merge remote-tracking branch 'origin/master' into ji
# Conflicts: # frontend-web/src/contexts/ThemeContext.tsx # offline-backend-20260512/backend/config.yaml
This commit is contained in:
commit
1642c3e694
10 files changed
+1454
-167
No files matched your search
@@ -20,7 +20,7 @@ import { NotFoundPage } from "./pages/NotFoundPage";
|
||||
function AppProviders({ children }: { children: React.ReactNode }) {
|
||||
const locale = useMemo(() => detectLocale(), []);
|
||||
const location = useLocation();
|
||||
const forcedTheme = location.pathname === "/landing" ? "dark" : undefined;
|
||||
const forcedTheme = location.pathname === "/landing" ? "light" : undefined;
|
||||
|
||||
return (
|
||||
<NextThemesProvider
|
||||
|
||||
Reference in new issue
Block a user