12 lines
282 B
TypeScript
12 lines
282 B
TypeScript
import { Toaster } from '@repo/ui/components/ui/sonner';
|
|
import { type PropsWithChildren } from 'react';
|
|
|
|
export function ErrorProvider({ children }: Readonly<PropsWithChildren>) {
|
|
return (
|
|
<>
|
|
<Toaster position="top-center" richColors />
|
|
{children}
|
|
</>
|
|
);
|
|
}
|