linting fix

Aniket-Engg-patch-1
aniket-engg 10 months ago committed by Aniket
parent d12b1e9218
commit 483477a7d9
  1. 2
      libs/remix-ui/workspace/src/lib/actions/index.ts
  2. 1
      libs/remix-ui/workspace/src/lib/actions/workspace.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)

@ -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'

Loading…
Cancel
Save