From 494c0636990ea734c3f973101f09dcb12a945b38 Mon Sep 17 00:00:00 2001 From: Tomasz Misiukiewicz Date: Tue, 2 Sep 2025 10:11:10 +0200 Subject: [PATCH] do not recompute option list on report attributes change --- 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 9eb0787a50d8..da06f86f895b 100644 --- a/src/components/OptionListContextProvider.tsx +++ b/src/components/OptionListContextProvider.tsx @@ -232,7 +232,7 @@ function OptionsListContextProvider({children}: OptionsListProviderProps) { // This effect is used to update the options list when personal details change so we ignore all dependencies except personalDetails // eslint-disable-next-line react-compiler/react-compiler, react-hooks/exhaustive-deps - }, [personalDetails, reportAttributes?.reports]); + }, [personalDetails]); const initializeOptions = useCallback(() => { loadOptions();