Skip to content

Commit

Permalink
Fix file formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
rimrakhimov authored Jan 15, 2024
1 parent d63797a commit 5c145bd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions libs/remix-ui/workspace/src/lib/actions/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ export const initWorkspace = (filePanelPlugin) => async (reducerDispatch: React.
const target = `/${blockscoutUrl}/${contractAddress}`

data = await fetchContractFromBlockscout(plugin, blockscoutUrl, contractAddress, target, false)
console.log(data)
if (await workspaceExists(workspaceName)) workspaceProvider.setWorkspace(workspaceName)
else await createWorkspaceTemplate(workspaceName, 'code-template')
plugin.setWorkspace({ name: workspaceName, isLocalhost: false })
Expand Down Expand Up @@ -156,7 +155,7 @@ export const initWorkspace = (filePanelPlugin) => async (reducerDispatch: React.
}else{
_paq.push(['trackEvent', 'Storage', 'error', `Workspace in localstorage not found: ${localStorage.getItem("currentWorkspace")}`])
await basicWorkspaceInit(workspaces, workspaceProvider)
}
}
} else {
await basicWorkspaceInit(workspaces, workspaceProvider)
}
Expand Down

0 comments on commit 5c145bd

Please sign in to comment.