relay-management-fixed #83
@ -71,6 +71,12 @@ export const RelaysPage = () => {
|
|||||||
}
|
}
|
||||||
}, [relaysInfo, relaysState?.info])
|
}, [relaysInfo, relaysState?.info])
|
||||||
|
|
||||||
|
useEffect(() => {
|
||||||
|
if (!compareObjects(relayMap, relaysState?.map)) {
|
||||||
|
setRelayMap(relaysState?.map)
|
||||||
|
}
|
||||||
|
}, [relayMap, relaysState?.map])
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
let isMounted = false
|
let isMounted = false
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user