Skip to content
Snippets Groups Projects
ToastWrapper.tsx 250 B
Newer Older
Ategon Dev's avatar
Ategon Dev committed
import { useTheme } from "next-themes";
import { ToastContainer } from "react-toastify";

export const ToastWrapper = () => {
  const { theme } = useTheme()

  return (
    <ToastContainer
      position="top-left" 
      theme={theme}
    />
  );
};