mirror of https://github.com/langgenius/dify.git
16 lines
349 B
TypeScript
16 lines
349 B
TypeScript
'use client'
|
|
import { useSearchParams } from 'next/navigation'
|
|
import OneMoreStep from './one-more-step'
|
|
import NormalForm from './normal-form'
|
|
|
|
const SignIn = () => {
|
|
const searchParams = useSearchParams()
|
|
const step = searchParams.get('step')
|
|
|
|
if (step === 'next')
|
|
return <OneMoreStep />
|
|
return <NormalForm />
|
|
}
|
|
|
|
export default SignIn
|