feat: migrate task jobs to workflow notifications + timeline
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
|
||||
import { useState } from 'react';
|
||||
import { Toaster } from 'sonner';
|
||||
|
||||
type QueryProviderProps = {
|
||||
children: React.ReactNode;
|
||||
@@ -20,6 +21,15 @@ export function QueryProvider({ children }: QueryProviderProps) {
|
||||
return (
|
||||
<QueryClientProvider client={queryClient}>
|
||||
{children}
|
||||
<Toaster
|
||||
position="top-right"
|
||||
closeButton
|
||||
richColors
|
||||
toastOptions={{
|
||||
className: 'sonner-toast',
|
||||
descriptionClassName: 'sonner-toast-description'
|
||||
}}
|
||||
/>
|
||||
</QueryClientProvider>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user