'How templement react toast?

I am trying this code solved but I do not this solve plz Help I cannot solve This problem

const resetPassword = async (e) => {
    const email = e.target.email.value;
    if (email) {
        await sendPasswordResetEmail(email)`enter code here`
        toast('sent email')
    } 
    else {
        toast('please enter your email address')
    }


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source