Skip to content

Commit

Permalink
linting fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Aniket-Engg committed Jan 25, 2024
1 parent 7d4e7bb commit 6b28697
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion libs/remix-ui/workspace/src/lib/actions/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 0 additions & 1 deletion libs/remix-ui/workspace/src/lib/actions/workspace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 6b28697

Please sign in to comment.