MCPcopy Create free account
hub / github.com/CodeWithHarry/Sigma-Web-Dev-Course / handleSubmit

Function handleSubmit

Video 131/components/Dashboard.js:35–49  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

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

Callers 1

AppFunction · 0.85

Calls 1

updateProfileFunction · 0.90

Tested by

no test coverage detected