Fixed minor bugs
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user