mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
fix useGraphSyncStatus error
This commit is contained in:
parent
598174084c
commit
3bac4a1eb8
@ -31,6 +31,7 @@ async function fetchGraph(
|
||||
}
|
||||
|
||||
async function getBlockHead(config: Config) {
|
||||
if (!config) return
|
||||
// for ETH main, get block from graph fetch
|
||||
if (config.network === 'mainnet') {
|
||||
const response: any = await fetchGraph(ethGraphUrl, ethGraphQuery)
|
||||
|
@ -6,7 +6,6 @@ import AddToken from '@shared/AddToken'
|
||||
import Conversion from '@shared/Price/Conversion'
|
||||
import { useWeb3 } from '@context/Web3'
|
||||
import { getOceanConfig } from '@utils/ocean'
|
||||
import Web3Feedback from '@shared/Web3Feedback'
|
||||
import styles from './Details.module.css'
|
||||
|
||||
export default function Details(): ReactElement {
|
||||
@ -128,7 +127,6 @@ export default function Details(): ReactElement {
|
||||
</p>
|
||||
</li>
|
||||
</ul>
|
||||
<Web3Feedback networkId={networkId} />
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user