mirror of
https://github.com/oceanprotocol/commons.git
synced 2023-03-15 18:03:00 +01:00
log faucet errors
This commit is contained in:
parent
2d5379f5b2
commit
7781d72aa5
@ -1,6 +1,7 @@
|
|||||||
import React, { Component } from 'react'
|
import React, { Component } from 'react'
|
||||||
import Web3 from 'web3'
|
import Web3 from 'web3'
|
||||||
import { BrowserRouter as Router } from 'react-router-dom'
|
import { BrowserRouter as Router } from 'react-router-dom'
|
||||||
|
import { Logger } from '@oceanprotocol/squid'
|
||||||
import Header from './components/Header'
|
import Header from './components/Header'
|
||||||
import Footer from './components/Footer'
|
import Footer from './components/Footer'
|
||||||
import Spinner from './components/atoms/Spinner'
|
import Spinner from './components/atoms/Spinner'
|
||||||
@ -62,7 +63,7 @@ class App extends Component<{}, AppState> {
|
|||||||
}
|
}
|
||||||
)
|
)
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
// show error
|
Logger.log(error)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// no account found
|
// no account found
|
||||||
|
Loading…
Reference in New Issue
Block a user