feat(react): update app state when config changes

This commit is contained in:
Pavel Prichodko 2022-05-23 14:44:25 +02:00
parent fb147e7929
commit 32303bebdb
No known key found for this signature in database
GPG Key ID: 8E4C82D464215E83
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>