right now i basically just have the stuff from the...
# general
h
right now i basically just have the stuff from the example.
Copy code
import { Registration } from '@ory/elements-react/theme'
import { getRegistrationFlow, OryPageParams } from '@ory/nextjs/app'

import config from '@/ory.config'

export default async function RegistrationPage(props: OryPageParams) {
    const flow = await getRegistrationFlow(config, props.searchParams)

    if (!flow) {
        return null
    }

    return (
        <Registration
            flow={flow}
            config={config}
            components={{
                Card: {}
            }}
        />
    )
}
wasn't aware that there were that example for
getOrCreateRegistrationFlow