Skip to content

Commit fdaa47b

Browse files
committed
fix(shadcn): Remove duplicate display name field (bb-64)
1 parent 4e16e60 commit fdaa47b

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

packages/shadcn/src/components/sign-up-auth-form.tsx

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -88,21 +88,6 @@ export function SignUpAuthForm(props: SignUpAuthFormProps) {
8888
</FormItem>
8989
)}
9090
/>
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}
10691
<Policies />
10792
<Button type="submit" disabled={ui.state !== "idle"}>
10893
{getTranslation(ui, "labels", "createAccount")}

0 commit comments

Comments
 (0)