Skip to content

Commit a16fca7

Browse files
committed
smol fix
1 parent c28c1f8 commit a16fca7

File tree

3 files changed

+5
-28
lines changed

3 files changed

+5
-28
lines changed

Diff for: app/(transition)/(root)/login/page.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ const AuthPage: NextPage = () => {
1919

2020
useEffect(() => {
2121
const url = new URL(window.location.href);
22+
url.pathname = "/";
23+
url.hash = "";
2224
setUrl(url.toString());
2325

2426
// eslint-disable-next-line @typescript-eslint/no-floating-promises

Diff for: app/(transition)/layout.tsx

+3-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ export default function Layout({ children }: { children: React.ReactNode }) {
2626

2727
const {
2828
data: { subscription },
29-
} = supabase.auth.onAuthStateChange((_event, session) => {});
29+
} = supabase.auth.onAuthStateChange((_event, session) => {
30+
// TODO: handle token
31+
});
3032

3133
start().catch((e) => {
3234
console.error(e);

Diff for: src/components/Auth/clerk.tsx

-27
This file was deleted.

0 commit comments

Comments
 (0)