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}
    </>
  );
}
