mirror of
https://github.com/status-im/dappconnect-sdks.git
synced 2025-01-13 18:24:35 +00:00
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…
x
Reference in New Issue
Block a user