mirror of
https://github.com/Permissionless-Software-Foundation/psf-memo-client.git
synced 2026-09-21 16:52:02 -07:00
Merge pull request #13 from Permissionless-Software-Foundation/ct-unstable
Fixing bug in footer
This commit is contained in:
+1
-2
@@ -40,6 +40,5 @@
|
||||
"minimal-slp-wallet": "5.0.3",
|
||||
"standard": "17.0.0",
|
||||
"web3.storage": "4.3.0"
|
||||
},
|
||||
"homepage": "https://permissionless-software-foundation.github.io/react-bootstrap-web3-spa"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -19,7 +19,9 @@ function Footer (props) {
|
||||
async function fetchData () {
|
||||
try {
|
||||
const hash = await getUpdatedUrl(wallet)
|
||||
setIpfsCid(hash)
|
||||
if (hash) {
|
||||
setIpfsCid(hash)
|
||||
}
|
||||
} catch (err) {
|
||||
console.error('Error trying to retrieve Filecoin CID for the app from the BCH blockchain.')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user