Enable disableTransitionOnChange
This commit is contained in:
parent
38fb74a886
commit
5f4e830e3a
1 changed files with 5 additions and 1 deletions
|
|
@ -7,5 +7,9 @@ interface ProvidersProps {
|
|||
}
|
||||
|
||||
export function Providers({ children }: ProvidersProps) {
|
||||
return <ThemeProvider attribute='class'>{children}</ThemeProvider>;
|
||||
return (
|
||||
<ThemeProvider attribute='class' disableTransitionOnChange>
|
||||
{children}
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue