Skip to content

Commit 4b6eef6

Browse files
Format about.tsx /facepalm
1 parent a7b89d4 commit 4b6eef6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/pages/about.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export async function clientLoader() {
1212

1313
return {
1414
title: "About page",
15-
data
15+
data,
1616
};
1717
}
1818

@@ -26,7 +26,9 @@ export default function Component({ loaderData }: { loaderData: LoaderData }) {
2626
<h1 className="mb-6">{loaderData.title}</h1>
2727
<Link to="/">Home</Link>
2828
<p className="mt-6">Loaded data:</p>
29-
<pre className="bg-[black] rounded-xl border border-secondary p-6 mt-3">{JSON.stringify(loaderData, null, 2)}</pre>
29+
<pre className="bg-[black] rounded-xl border border-secondary p-6 mt-3">
30+
{JSON.stringify(loaderData, null, 2)}
31+
</pre>
3032
</>
3133
);
3234
}

0 commit comments

Comments
 (0)