mirror of
https://github.com/status-im/dappconnect-sdks.git
synced 2025-01-12 17:54:21 +00:00
feat(react): update app state when config changes
This commit is contained in:
parent
fb147e7929
commit
32303bebdb
@ -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