Fixed minor bugs

This commit is contained in:
2023-03-09 22:48:39 -06:00
parent ebe81c7f1c
commit 009568230e
2 changed files with 11 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
import React from "react";
import { cva } from "class-variance-authority";
import Button from "@components/Button";
import { Button } from "@components/Button";
import Text from "@components/Text";
const footer = cva();

View File

@@ -19,7 +19,16 @@ const Projects: NextPage = ({
<Text tag="h1">Projects</Text>
<Text>Signed in as {session?.user?.id}</Text>
<Button onClick={() => void signOut()}>Sign Out</Button>
<Button
onClick={() =>
void signOut({
callbackUrl: "/",
redirect: true,
})
}
>
Sign Out
</Button>
</Layout>
);
};