fix linting

pull/5370/head
aniket-engg 9 months ago committed by Aniket
parent 49966bdeda
commit 2ddc940d26
  1. 2
      libs/remix-ui/run-tab/src/lib/components/instanceContainerUI.tsx
  2. 2
      libs/remix-ui/run-tab/src/lib/components/universalDappUI.tsx

@ -10,7 +10,7 @@ export function InstanceContainerUI(props: InstanceContainerProps) {
useEffect(() => {
const fetchSavedContracts = async () => {
let allSavedContracts = localStorage.getItem('savedContracts')
const allSavedContracts = localStorage.getItem('savedContracts')
if (allSavedContracts) {
const savedContracts = JSON.parse(allSavedContracts)
const { network } = await props.plugin.call('blockchain', 'getCurrentNetworkStatus')

@ -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 = {}

Loading…
Cancel
Save