@@ -8,7 +8,7 @@ import {
|
||||
import { Link } from "react-router";
|
||||
import type { HomePageQuery as HomePageQueryType } from "./__generated__/HomePageQuery.graphql";
|
||||
|
||||
export const HomePageQuery = graphql`
|
||||
export const HomePageQuery = graphql`
|
||||
query HomePageQuery {
|
||||
node(id: "AZSfP_xAcAC5IAAAAAAltA") {
|
||||
id
|
||||
@@ -122,7 +122,8 @@ import type { HomePageQuery as HomePageQueryType } from "./__generated__/HomePag
|
||||
}
|
||||
}
|
||||
}
|
||||
}`;
|
||||
}
|
||||
`;
|
||||
|
||||
export default function HomePage() {
|
||||
const [queryRef, loadQuery] =
|
||||
@@ -154,9 +155,15 @@ function HomePageContent({
|
||||
|
||||
return (
|
||||
<div>
|
||||
<h1>User</h1>
|
||||
<div className="grid auto-rows-min gap-4 md:grid-cols-3">
|
||||
<div className="aspect-video rounded-xl bg-muted/50" />
|
||||
<div className="aspect-video rounded-xl bg-muted/50" />
|
||||
<div className="aspect-video rounded-xl bg-muted/50" />
|
||||
</div>
|
||||
<div className="min-h-[100vh] flex-1 rounded-xl bg-muted/50 md:min-h-min">
|
||||
<pre>{JSON.stringify(data, null, 2)}</pre>
|
||||
<Link to="/foobar">Go to FooPage</Link>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user