diff --git a/libs/remix-ui/workspace/src/lib/actions/index.ts b/libs/remix-ui/workspace/src/lib/actions/index.ts index 15c3d61796d..cbd967ac0af 100644 --- a/libs/remix-ui/workspace/src/lib/actions/index.ts +++ b/libs/remix-ui/workspace/src/lib/actions/index.ts @@ -392,7 +392,7 @@ export const copyShareURL = async (path: string) => { }) const fileContent = await fileManager.readFile(path) - let result = await ipfs.add(fileContent) + const result = await ipfs.add(fileContent) const hash = result.cid.string const shareUrl = `${window.location.origin}/#shareCode=${hash}` navigator.clipboard.writeText(shareUrl) diff --git a/libs/remix-ui/workspace/src/lib/actions/workspace.ts b/libs/remix-ui/workspace/src/lib/actions/workspace.ts index f64bc30801d..c0fdc6c41c2 100644 --- a/libs/remix-ui/workspace/src/lib/actions/workspace.ts +++ b/libs/remix-ui/workspace/src/lib/actions/workspace.ts @@ -260,7 +260,6 @@ export const loadWorkspacePreset = async (template: WorkspaceTemplate = 'remixDe await workspaceProvider.set(path, content) } if (params.shareCode) { - console.log('inside params.shareCode------>', params.shareCode) const host = '127.0.0.1' const port = 5001 const protocol = 'http'