import useSWR from 'swr' function Profile () { const { data, mutate } = useSWR('/api/user', fetcher) return ( <div> <h1>My name is {data.name}.
確定! 回上一頁