Skip to content

Commit

Permalink
chore: readding alpha flags
Browse files Browse the repository at this point in the history
  • Loading branch information
John Allen committed Feb 28, 2024
1 parent 2646d89 commit e5e9344
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions app/(app)/get-started/_client.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ const GetStarted: NextPage = () => {
// toLowerCase can maybe be removed. Just want to make sure its not TRUE in Prod
setIsAlpha(process.env.ALPHA?.toLowerCase() === "true");
}, []);

const redirectTo =
typeof callbackUrl === "string" ? callbackUrl : "/articles";

Expand Down Expand Up @@ -49,7 +48,7 @@ const GetStarted: NextPage = () => {
</Link>
</p>
</div>
{true && (
{isAlpha && (
<>
<div>
<input
Expand Down
1 change: 0 additions & 1 deletion server/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ export const authOptions: NextAuthOptions = {
signIn: "/get-started",
newUser: "/settings",
verifyRequest: "/auth",
// (used for any errors which
error: "/auth/error", // (used for any errors which occur during auth
},
callbacks: {
Expand Down

0 comments on commit e5e9344

Please sign in to comment.