import useSWR from 'swr'; import { fetcher } from './fetcher'; export function useFeed() { const { data: feed } = useSWR('/api/feed', ...
確定! 回上一頁