From 6a5e42f0e2a51444e268ca05ec0d812ba1bf5108 Mon Sep 17 00:00:00 2001 From: Pavel Prichodko <14926950+prichodko@users.noreply.github.com> Date: Mon, 23 May 2022 14:44:25 +0200 Subject: [PATCH] feat(react): update app state when config changes --- packages/status-react/src/contexts/app-context.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/status-react/src/contexts/app-context.tsx b/packages/status-react/src/contexts/app-context.tsx index f96e5378..369f40d4 100644 --- a/packages/status-react/src/contexts/app-context.tsx +++ b/packages/status-react/src/contexts/app-context.tsx @@ -52,7 +52,7 @@ export const AppProvider = (props: Props) => { }, }), // eslint-disable-next-line react-hooks/exhaustive-deps - [state] + [state, config.options] ) return {children}