MCPcopy Create free account
hub / github.com/QuarkGluonPlasma/react-course-code / UserName

Function UserName

suspense-error-boundary/src/App2.tsx:12–15  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10})
11
12const UserName = () => {
13 const [user] = useAtom(userAtom)
14 return <div>User name: {user.name}</div>
15}
16
17export default function App() {
18 return <Suspense fallback="Loading...">

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected