Skip to content

Commit 90778e2

Browse files
achingbrainAlan Shaw
authored andcommitted
docs: almost all browser examples passing
1 parent ecbed9d commit 90778e2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/hooks/use-ipfs-factory.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ export default function useIpfsFactory ({ commands }) {
2626
if (ipfs && ipfs.stop) {
2727
console.log('Stopping IPFS')
2828
ipfs.stop().catch(err => console.error(err))
29+
ipfs = null
2930
setIpfsReady(false)
3031
}
3132
}

0 commit comments

Comments
 (0)