Skip to content

Commit 1750b46

Browse files
committed
biome
1 parent e30f79d commit 1750b46

1 file changed

Lines changed: 20 additions & 20 deletions

File tree

client/app/routes/home.tsx

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3,29 +3,29 @@ import { Button } from "@/components/ui/button";
33
import { useAuth } from "@/lib/use-auth";
44

55
export function meta() {
6-
return [
7-
{ title: "Markly" },
8-
{ name: "description", content: "Welcome to React Router!" },
9-
];
6+
return [
7+
{ title: "Markly" },
8+
{ name: "description", content: "Welcome to React Router!" },
9+
];
1010
}
1111

1212
export default function Home() {
13-
const { session, isAuthenticated, isPending, signOut } = useAuth();
13+
const { session, isAuthenticated, isPending, signOut } = useAuth();
1414

15-
if (isPending) {
16-
return <div>Loading...</div>;
17-
}
15+
if (isPending) {
16+
return <div>Loading...</div>;
17+
}
1818

19-
return (
20-
<div className="flex h-svh items-center justify-center">
21-
{isAuthenticated ? (
22-
<div>
23-
<div>{JSON.stringify(session, null, 2)}</div>
24-
<Button onClick={() => signOut()}>Sign Out</Button>
25-
</div>
26-
) : (
27-
<Link to="/login">login</Link>
28-
)}
29-
</div>
30-
);
19+
return (
20+
<div className="flex h-svh items-center justify-center">
21+
{isAuthenticated ? (
22+
<div>
23+
<div>{JSON.stringify(session, null, 2)}</div>
24+
<Button onClick={() => signOut()}>Sign Out</Button>
25+
</div>
26+
) : (
27+
<Link to="/login">login</Link>
28+
)}
29+
</div>
30+
);
3131
}

0 commit comments

Comments
 (0)