There was an error while loading. Please reload this page.
1 parent 2f6e2b1 commit 733204cCopy full SHA for 733204c
1 file changed
packages/neuron-ui/src/components/NetworkEditor/index.tsx
@@ -21,7 +21,7 @@ const NetworkEditor = ({
21
const cachedNetwork = cachedNetworks.current.find(network => network.id === id)
22
const usedNetworkNames = useMemo(
23
() => networks.map(n => n.name).filter(name => name !== ((cachedNetwork && cachedNetwork.name) || '')),
24
- [networks]
+ [networks, cachedNetwork]
25
)
26
const inputs = useInputs(editor, usedNetworkNames, t)
27
const goBack = useGoBack(history)
0 commit comments