1
0
Fork 0
mirror of https://codeberg.org/MarkusThielker/next-ory.git synced 2025-07-02 04:59:17 +00:00

NORY-4: migrate to Next.js 15

This commit is contained in:
Markus Thielker 2024-11-27 14:46:35 +01:00
parent 4960b2c481
commit b2a4ba775d
No known key found for this signature in database
7 changed files with 385 additions and 334 deletions

View file

@ -1,8 +1,7 @@
'use client';
import * as React from 'react';
import { ThemeProvider as NextThemesProvider } from 'next-themes';
import { type ThemeProviderProps } from 'next-themes/dist/types';
import { ThemeProvider as NextThemesProvider, ThemeProviderProps } from 'next-themes';
export function ThemeProvider({ children, ...props }: ThemeProviderProps) {
return <NextThemesProvider {...props}>{children}</NextThemesProvider>;