f827bf0cdc
And an improved design 😄 https://roadmap-redis.vercel.app/
24 lines
468 B
JavaScript
24 lines
468 B
JavaScript
import '../styles/globals.css'
|
|
import { Toaster } from 'react-hot-toast'
|
|
|
|
function MyApp({ Component, pageProps }) {
|
|
return (
|
|
<>
|
|
<Component {...pageProps} />
|
|
<Toaster
|
|
position="bottom-right"
|
|
toastOptions={{
|
|
style: {
|
|
margin: '40px',
|
|
background: '#363636',
|
|
color: '#fff',
|
|
zIndex: 1,
|
|
},
|
|
duration: 5000,
|
|
}}
|
|
/>
|
|
</>
|
|
)
|
|
}
|
|
|
|
export default MyApp
|