Skip to content

Commit

Permalink
remove ensureMFS call when generating share link (#1801)
Browse files Browse the repository at this point in the history
  • Loading branch information
yusefnapora committed Jun 11, 2021
1 parent 04be933 commit 84f4337
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/bundles/files/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -416,9 +416,8 @@ const actions = () => ({
* Generates sharable link for the provided files.
* @param {FileStat[]} files
*/
doFilesShareLink: (files) => perform(ACTIONS.SHARE_LINK, async (ipfs, { store }) => {
ensureMFS(store)

doFilesShareLink: (files) => perform(ACTIONS.SHARE_LINK, async (ipfs) => {
// ensureMFS deliberately omitted here, see https://github.com/ipfs/ipfs-webui/issues/1744 for context.
return await getShareableLink(files, ipfs)
}),

Expand Down

0 comments on commit 84f4337

Please sign in to comment.