docs(example): fix ipfs cat (#475)

`ipfs.files.cat` is incorrect. the correct function is `ipfs.cat`
This commit is contained in:
phillmac
2019-11-11 23:22:59 +11:00
committed by Jacob Heun
parent 21cd9c67bc
commit b73348078d

View File

@ -44,7 +44,7 @@ class App extends Component {
isLoading: this.state.isLoading + 1
})
this.ipfs.files.cat(this.state.hash, (err, data) => {
this.ipfs.cat(this.state.hash, (err, data) => {
if (err) console.log('Error', err)
this.setState({