Skip to content

Commit 84f4337

Browse files
authored
remove ensureMFS call when generating share link (#1801)
1 parent 04be933 commit 84f4337

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/bundles/files/actions.js

+2-3
Original file line numberDiff line numberDiff line change
@@ -416,9 +416,8 @@ const actions = () => ({
416416
* Generates sharable link for the provided files.
417417
* @param {FileStat[]} files
418418
*/
419-
doFilesShareLink: (files) => perform(ACTIONS.SHARE_LINK, async (ipfs, { store }) => {
420-
ensureMFS(store)
421-
419+
doFilesShareLink: (files) => perform(ACTIONS.SHARE_LINK, async (ipfs) => {
420+
// ensureMFS deliberately omitted here, see https://github.com/ipfs/ipfs-webui/issues/1744 for context.
422421
return await getShareableLink(files, ipfs)
423422
}),
424423

0 commit comments

Comments
 (0)