Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CodeWithHarry/Sigma-Web-Dev-Course
/ getData
Function
getData
Video 131/components/Dashboard.js:26–29 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
24
}, [])
25
26
const
getData =
async
() => {
27
let
u =
await
fetchuser(session.user.name)
28
setform(u)
29
}
30
31
const
handleChange = (e) => {
32
setform({ ...form, [e.target.name]: e.target.value })
Callers
1
Dashboard
Function · 0.70
Calls
1
fetchuser
Function · 0.90
Tested by
no test coverage detected