return to test

This commit is contained in:
Karol Wypchlo 2021-02-11 23:05:51 +01:00
parent d641c3f67a
commit 4ee5c4f111
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ import Layout from "../components/Layout";
const fetcher = (url) => fetch(url).then((r) => r.json()); const fetcher = (url) => fetch(url).then((r) => r.json());
export default function Home() { export default function Home() {
const { data: user, error } = useSWR("/user", fetcher); // const { data: user, error } = useSWR("/user", fetcher);
return ( return (
<Layout title="Dashboard"> <Layout title="Dashboard">