Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Kenji Shiroma committed Dec 5, 2023
1 parent c812c52 commit 3d2d50e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const EmploymentSelectFullPattern = ({ showErrors = false }) => {
const invalid = showErrors;

const [employment, setEmployment] = useState<string>();
const [prevEmployment, setPrevEmployment] = useState();
const [prevEmployment, setPrevEmployment] = useState<string>();
const [years, setYears] = useState<number>();

const employed = ['full', 'part', 'casual-seasonal', 'self'];
Expand Down Expand Up @@ -109,7 +109,7 @@ export const EmploymentSelectFullPattern = ({ showErrors = false }) => {
</Alert>
<Form.Group>
<Field label="Previous employment type">
<EmploymentSelect value={prevEmployment} onChange={e => setPrevEmployment(e.target.value)} />
<EmploymentSelect value={prevEmployment} onChange={(e: any) => setPrevEmployment(e.target.value)} />
</Field>
</Form.Group>
<Form.Group>
Expand Down

0 comments on commit 3d2d50e

Please sign in to comment.