Skip to content

Commit

Permalink
chore(project): update test, snapshots and remove unused props
Browse files Browse the repository at this point in the history
  • Loading branch information
MelissaDTH committed Apr 22, 2024
1 parent 3f23ea7 commit f768202
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ import styles from './PersonalDetailsForm.module.scss';
type Props = {
initialValues: PersonalDetailsFormData;
onSubmit: UseFormOnSubmitHandler<PersonalDetailsFormData>;
onChange: React.ChangeEventHandler;
setValue: (key: keyof PersonalDetailsFormData, value: string) => void;
error?: string;
fields: Record<string, CleengCaptureField>;
questions: CleengCaptureQuestionField[];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ exports[`<PersonalDetailsForm> > Renders with errors 1`] = `
type="number"
value="27"
/>
/
/
<input
autocomplete="bday-month"
class="_input_0addad"
Expand All @@ -331,7 +331,7 @@ exports[`<PersonalDetailsForm> > Renders with errors 1`] = `
type="number"
value="2"
/>
/
/
<input
autocomplete="bday-year"
class="_input_0addad"
Expand Down Expand Up @@ -835,7 +835,7 @@ exports[`<PersonalDetailsForm> > Renders without crashing 1`] = `
type="number"
value="27"
/>
/
/
<input
autocomplete="bday-month"
class="_input_0addad"
Expand All @@ -846,7 +846,7 @@ exports[`<PersonalDetailsForm> > Renders without crashing 1`] = `
type="number"
value="2"
/>
/
/
<input
autocomplete="bday-year"
class="_input_0addad"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ exports[`<RegistrationForm> > renders and matches snapshot 1`] = `
class="_bottom_a472a0"
>
registration.already_account
<a
class="_link_a14c64"
href="/?u=login"
Expand Down

0 comments on commit f768202

Please sign in to comment.