// ToastWrapper.tsx
import type { ReactNode } from 'react'
import React from 'react'
import { Toaster } from 'react-hot-toast'

interface ToastWrapperProps {
  children: ReactNode
}

const ToastWrapper: React.FC<ToastWrapperProps> = ({ children }) => {
  return (
    <>
      {children}
      <Toaster />
    </>
  )
}

export default ToastWrapper
