We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c44aa6 commit 18b0964Copy full SHA for 18b0964
1 file changed
packages/ui/src/components/SignUp/SignUpStart.tsx
@@ -259,7 +259,15 @@ function SignUpStartInternal(): JSX.Element {
259
}, [] as Array<FormControlState>);
260
261
if (unsafeMetadata) {
262
- fieldsToSubmit.push({ id: 'unsafeMetadata', value: unsafeMetadata } as any);
+ const noop = () => {};
263
+ fieldsToSubmit.push({
264
+ id: 'unsafeMetadata',
265
+ value: unsafeMetadata,
266
+ clearFeedback: noop,
267
+ setValue: noop,
268
+ onChange: noop,
269
+ setError: noop,
270
+ } as any);
271
}
272
273
if (fields.ticket || hasExistingSignUpWithTicket) {
0 commit comments