feat(react): update app state when config changes
This commit is contained in:
parent
b8348c40f3
commit
6a5e42f0e2
|
@ -52,7 +52,7 @@ export const AppProvider = (props: Props) => {
|
|||
},
|
||||
}),
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
[state]
|
||||
[state, config.options]
|
||||
)
|
||||
|
||||
return <AppContext.Provider value={value}>{children}</AppContext.Provider>
|
||||
|
|
Loading…
Reference in New Issue