We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e16e60 commit fdaa47bCopy full SHA for fdaa47b
packages/shadcn/src/components/sign-up-auth-form.tsx
@@ -88,21 +88,6 @@ export function SignUpAuthForm(props: SignUpAuthFormProps) {
88
</FormItem>
89
)}
90
/>
91
- {requireDisplayName ? (
92
- <FormField
93
- control={form.control}
94
- name="displayName"
95
- render={({ field }) => (
96
- <FormItem>
97
- <FormLabel>{getTranslation(ui, "labels", "displayName")}</FormLabel>
98
- <FormControl>
99
- <Input {...field} />
100
- </FormControl>
101
- <FormMessage />
102
- </FormItem>
103
- )}
104
- />
105
- ) : null}
106
<Policies />
107
<Button type="submit" disabled={ui.state !== "idle"}>
108
{getTranslation(ui, "labels", "createAccount")}
0 commit comments