mirror of
https://github.com/langgenius/dify.git
synced 2026-04-27 19:27:23 +08:00
16 lines
351 B
TypeScript
16 lines
351 B
TypeScript
'use client'
|
|
import { useSearchParams } from '@/next/navigation'
|
|
import NormalForm from './normal-form'
|
|
import OneMoreStep from './one-more-step'
|
|
|
|
const SignIn = () => {
|
|
const searchParams = useSearchParams()
|
|
const step = searchParams.get('step')
|
|
|
|
if (step === 'next')
|
|
return <OneMoreStep />
|
|
return <NormalForm />
|
|
}
|
|
|
|
export default SignIn
|