From 7584a98625754ada3c0e88a54f9adcb775eb0bbb Mon Sep 17 00:00:00 2001 From: Alex Beaman Date: Thu, 16 May 2024 16:01:21 +0300 Subject: [PATCH] Merge pull request #42238 from tienifr/fix/42189-42232-41062 [CP Staging] fix: missing personal details while creating options list (cherry picked from commit 583e5a3ca538cb491f62253a02b59f6f14418fd4) --- src/components/OptionListContextProvider.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/OptionListContextProvider.tsx b/src/components/OptionListContextProvider.tsx index 16bc9aef21eb..c9bf5d7b9db2 100644 --- a/src/components/OptionListContextProvider.tsx +++ b/src/components/OptionListContextProvider.tsx @@ -64,7 +64,7 @@ function OptionsListContextProvider({reports, children}: OptionsListProviderProp return; } - const newReports = OptionsListUtils.createOptionList({}, reports).reports; + const newReports = OptionsListUtils.createOptionList(personalDetails, reports).reports; setOptions((prevOptions) => { const newOptions = {...prevOptions};