Closed taehyunkim3 closed 1 month ago
Add missing 'function' on example code.
BEFORE
'use client' import useSWR from 'swr' export default Page() { //👈missing 'function' here const { data } = useSWR('/api/user', fetcher) return <h1>{data.name}</h1> }
AFTER
'use client' import useSWR from 'swr' export default function Page() { const { data } = useSWR('/api/user', fetcher) return <h1>{data.name}</h1> }
@taehyunkim4 is attempting to deploy a commit to the Vercel Team on Vercel.
A member of the Team first needs to authorize it.
Updating existing pages ✍️
Add missing 'function' on example code.
BEFORE
AFTER
Description