feat(react): update app state when config changes

This commit is contained in:
Pavel Prichodko 2022-05-23 14:44:25 +02:00
parent b8348c40f3
commit 6a5e42f0e2
No known key found for this signature in database
GPG Key ID: 0EB8D75C775AB6F1
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ export const AppProvider = (props: Props) => {
}, },
}), }),
// eslint-disable-next-line react-hooks/exhaustive-deps // eslint-disable-next-line react-hooks/exhaustive-deps
[state] [state, config.options]
) )
return <AppContext.Provider value={value}>{children}</AppContext.Provider> return <AppContext.Provider value={value}>{children}</AppContext.Provider>