Skip to content

Commit

Permalink
Merge pull request #1121 from DTS-STN/develop
Browse files Browse the repository at this point in the history
Sync develop with Main for release candidate v1.5.0.2
  • Loading branch information
MarcoGoC authored Nov 20, 2024
2 parents 0ca9f1d + 6727123 commit 049eb7a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pages/results/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,11 @@ const Results: NextPage<{ adobeAnalyticsUrl: string }> = ({
const [savedInputs, setSavedInputs]: [any, (value: any) => void] =
useSessionStorage('resultPageInputs', {})

const inputHelper = new InputHelper(savedInputs.inputs, setInputs, language)
const inputHelper = new InputHelper(
'inputs' in savedInputs ? savedInputs.inputs : {},
setInputs,
language
)

const tsln = useTranslation<WebTranslations>()

Expand Down

0 comments on commit 049eb7a

Please sign in to comment.