import toast from 'react-hot-toast' export const toastSuccess = (message) => { toast.success((t) => { return
toast.dismiss(t.id)}>{message}
}) }