From 3d2d50e6426b9d88d006ad3cce0da4cd78060a25 Mon Sep 17 00:00:00 2001 From: Kenji Shiroma Date: Tue, 5 Dec 2023 17:03:09 +1000 Subject: [PATCH] fix --- .../components/demos/employment/employment-usage.demo.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/site/src/components/code/components/demos/employment/employment-usage.demo.tsx b/apps/site/src/components/code/components/demos/employment/employment-usage.demo.tsx index db351c97a..3d41338bd 100644 --- a/apps/site/src/components/code/components/demos/employment/employment-usage.demo.tsx +++ b/apps/site/src/components/code/components/demos/employment/employment-usage.demo.tsx @@ -39,7 +39,7 @@ export const EmploymentSelectFullPattern = ({ showErrors = false }) => { const invalid = showErrors; const [employment, setEmployment] = useState(); - const [prevEmployment, setPrevEmployment] = useState(); + const [prevEmployment, setPrevEmployment] = useState(); const [years, setYears] = useState(); const employed = ['full', 'part', 'casual-seasonal', 'self']; @@ -109,7 +109,7 @@ export const EmploymentSelectFullPattern = ({ showErrors = false }) => { - setPrevEmployment(e.target.value)} /> + setPrevEmployment(e.target.value)} />