chore: upgrade to react 19 beta and next 14 canary

This commit is contained in:
2024-05-19 14:53:00 +02:00
parent fe429295ef
commit 63e0be09e6
65 changed files with 2626 additions and 1898 deletions

View File

@@ -0,0 +1,23 @@
"use client";
import { ThemeProvider as NextThemesProvider } from "next-themes";
import { ThemeProviderProps } from "next-themes/dist/types";
import { SidebarProvider } from "@/hooks/use-sidebar";
import { TailwindIndicator } from "@/components/tailwind-indicator";
import { SearchTextProvider } from "@/contexts/search-text";
import { ClientLayout } from "../client-layout";
export function Providers({ children, ...props }: ThemeProviderProps) {
return (
<NextThemesProvider {...props}>
<SearchTextProvider>
<SidebarProvider>
<ClientLayout>{children}</ClientLayout>
<TailwindIndicator />
</SidebarProvider>
</SearchTextProvider>
</NextThemesProvider>
);
}