diff --git a/libs/remix-ui/workspace/src/lib/actions/index.ts b/libs/remix-ui/workspace/src/lib/actions/index.ts index d78878d382..67787e1d2c 100644 --- a/libs/remix-ui/workspace/src/lib/actions/index.ts +++ b/libs/remix-ui/workspace/src/lib/actions/index.ts @@ -395,7 +395,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 f6141df577..31ec69ab99 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'