|
|
|
@ -122,7 +122,7 @@ export function UniversalDappUI(props: UdappProps) { |
|
|
|
|
const saveContract = async() => { |
|
|
|
|
const env = await props.plugin.call('blockchain', 'getProvider') |
|
|
|
|
const {network} = await props.plugin.call('blockchain', 'getCurrentNetworkStatus') |
|
|
|
|
let savedContracts = localStorage.getItem('savedContracts') |
|
|
|
|
const savedContracts = localStorage.getItem('savedContracts') |
|
|
|
|
let objToSave |
|
|
|
|
if (!savedContracts) { |
|
|
|
|
objToSave = {} |
|
|
|
|