return to test
This commit is contained in:
parent
d641c3f67a
commit
4ee5c4f111
|
@ -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">
|
||||||
|
|
Reference in New Issue