Skip to content

Commit 4a13ed8

Browse files
committed
hide option from context menu
1 parent 483477a commit 4a13ed8

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

libs/remix-ui/workspace/src/lib/actions/workspace.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,9 +268,9 @@ export const loadWorkspacePreset = async (template: WorkspaceTemplate = 'remixDe
268268
// const auth = 'Basic ' + Buffer.from(projectId + ':' + projectSecret).toString('base64')
269269

270270
const ipfs = IpfsHttpClient({ port, host, protocol
271-
, headers: {
271+
// , headers: {
272272
// authorization: auth
273-
}
273+
// }
274274
})
275275
const hashed = bufferToHex(hash.keccakFromString(params.shareCode))
276276

libs/remix-ui/workspace/src/lib/utils/index.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,13 @@ export const contextMenuActions: MenuItems = [{
5959
label: '',
6060
group: 1
6161
}, {
62-
id: 'copyShareURL',
63-
name: 'Copy share URL',
64-
type: ['file'],
65-
multiselect: false,
66-
label: '',
67-
group: 1
68-
}, {
62+
// id: 'copyShareURL',
63+
// name: 'Copy share URL',
64+
// type: ['file'],
65+
// multiselect: false,
66+
// label: '',
67+
// group: 1
68+
// }, {
6969
id: 'download',
7070
name: 'Download',
7171
type: ['file', 'folder', 'workspace'],

0 commit comments

Comments
 (0)