Skip to content

Commit

Permalink
ci(next): fix useSerachParams issue
Browse files Browse the repository at this point in the history
  • Loading branch information
anteqkois committed May 5, 2024
1 parent 1425545 commit ad3d001
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 0 additions & 2 deletions apps/web/app/(auth)/login/LoginForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import * as z from 'zod'

import { ButtonClient, Input, Label } from '@linkerry/ui-components/client'
import { cn } from '@linkerry/ui-components/utils'
import { useSearchParams } from 'next/navigation'
import { useUser } from '../../../modules/user/useUser'
import { retriveServerHttpException } from '../../../shared/utils'
import { userAuthSchema } from '../validations'
Expand All @@ -28,7 +27,6 @@ export function LoginForm({ className, ...props }: UserAuthFormProps) {
})
const [isLoading, setIsLoading] = React.useState<boolean>(false)
// const [isGitHubLoading, setIsGitHubLoading] = React.useState<boolean>(false)
const searchParams = useSearchParams()

async function onSubmit(data: FormData) {
setIsLoading(true)
Expand Down
3 changes: 3 additions & 0 deletions apps/web/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ const nextConfig = {
],
},
output: "standalone",
experimental: {
missingSuspenseWithCSRBailout: false,
},
};

const plugins = [
Expand Down

0 comments on commit ad3d001

Please sign in to comment.