"use client"; import { ReactNode } from "react"; import { ThemeProvider, useTheme } from "next-themes"; import { SWRConfig } from "swr"; // ui import { Toast } from "@plane/ui"; // constants import { SWR_CONFIG } from "@/constants/swr-config"; // helpers import { ASSET_PREFIX, resolveGeneralTheme } from "@/helpers/common.helper"; // lib import { InstanceProvider } from "@/lib/instance-provider"; import { StoreProvider } from "@/lib/store-provider"; import { UserProvider } from "@/lib/user-provider"; // styles import "./globals.css"; function RootLayout({ children }: { children: ReactNode }) { // themes const { resolvedTheme } = useTheme(); return ( {children} ); } export default RootLayout;