我对firebase很陌生,我正在尝试在React.js中处理firebase用户身份验证。我确实用电子邮件和密码创建了用户。但是,现在我想发送给用户一个电子邮件链接,以重置他们的密码。
我的代码现在看起来是这样的。
// This line of code belongs to the top
import { auth } from '../firebaseConfig'
//This part goes under the React component
<p onClick={async () => {
try{
awa