refactor(LOY-497): hide profiling consent behind feature flag * refactor(LOY-497): hide profiling consent behind feature flag * chore(LOY-497): up to date consent readme Approved-by: Matilda Landström
17 lines
397 B
TypeScript
17 lines
397 B
TypeScript
import { env } from "@/env/server"
|
|
|
|
import SignupForm from "@/components/Forms/Signup"
|
|
|
|
import type { SignupFormWrapperProps } from "@/types/components/blocks/dynamicContent"
|
|
|
|
export default async function SignupFormWrapper({
|
|
dynamic_content,
|
|
}: SignupFormWrapperProps) {
|
|
return (
|
|
<SignupForm
|
|
{...dynamic_content}
|
|
enableProfileConsent={env.ENABLE_PROFILE_CONSENT}
|
|
/>
|
|
)
|
|
}
|