mirror of
https://github.com/Portabase/portabase.git
synced 2026-07-14 11:16:13 +02:00
refactor(theme): move all components to components/
This commit is contained in:
@@ -7,7 +7,7 @@ import { Header } from "@/features/layout/components/header";
|
||||
import { currentUser } from "@/lib/auth/current-user";
|
||||
import { isOnboardingDone } from "@/db/services/setting";
|
||||
import { env } from "@/env.mjs";
|
||||
import { ModeToggle } from "@/features/theme/mode-toggle";
|
||||
import { ModeToggle } from "@/features/theme/components/mode-toggle";
|
||||
import { UpdateNotification } from "@/features/updates/update-notification";
|
||||
|
||||
export default async function Layout({ children }: { children: ReactNode }) {
|
||||
|
||||
+2
-2
@@ -5,8 +5,8 @@ import { type PropsWithChildren, Suspense } from "react";
|
||||
|
||||
import { Toaster } from "@/components/ui/sonner";
|
||||
import { ErrorLayout } from "@/components/common/error-layout";
|
||||
import { ThemeMetaUpdater } from "@/features/theme/theme-meta-updater";
|
||||
import { ThemeProvider } from "@/features/theme/theme-provider";
|
||||
import { ThemeMetaUpdater } from "@/features/theme/components/theme-meta-updater";
|
||||
import { ThemeProvider } from "@/features/theme/components/theme-provider";
|
||||
|
||||
export type ProviderProps = PropsWithChildren<{}>;
|
||||
const queryClient = new QueryClient();
|
||||
|
||||
Reference in New Issue
Block a user