import toast from "react-hot-toast" ; export const error = ( title ) => toast . error ( title , { position : "bottom-right" , } ) ; export const success = ( title ) => toast . success ( title , { position : "bottom-right" , } ) ;