import useSWR from "swr"; import User from "types/user"; const key = "/api/me"; function useUser() { return useSWR<User>(key, fetcher); }.
確定! 回上一頁