(e)
| 33 | } |
| 34 | |
| 35 | const handleSubmit = async (e) => { |
| 36 | |
| 37 | let a = await updateProfile(e, session.user.name) |
| 38 | toast('Profile Updated', { |
| 39 | position: "top-right", |
| 40 | autoClose: 5000, |
| 41 | hideProgressBar: false, |
| 42 | closeOnClick: true, |
| 43 | pauseOnHover: true, |
| 44 | draggable: true, |
| 45 | progress: undefined, |
| 46 | theme: "light", |
| 47 | transition: Bounce, |
| 48 | }); |
| 49 | } |
| 50 | |
| 51 | |
| 52 |