fix ERR_INVALID_URL
This commit is contained in:
parent
3c71b3679a
commit
65189685d3
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ export function LoginButton({
|
|||
}: LoginButtonProps) {
|
||||
const [isLoading, setIsLoading] = React.useState(false)
|
||||
const searchParams = useSearchParams()
|
||||
const next = searchParams.get('next')
|
||||
const next = searchParams.get('next') || ''
|
||||
|
||||
return (
|
||||
<Button
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue