Skip to content

Commit

Permalink
🐛 callbackUrl 기본값 넣어 undefined 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
jhsung23 committed Feb 19, 2024
1 parent 6e8788f commit 1d72eac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/login/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ type Props = {
};

const LoginPage = ({ searchParams }: Props) => {
const { callbackUrl } = searchParams;
const callbackUrl = searchParams[CALLBACK_URL] ?? '/';

return (
<div className="relative flex h-dvh w-full flex-col items-center bg-mainGradient pb-10">
Expand Down

0 comments on commit 1d72eac

Please sign in to comment.