Skip to content

Conversation

@gratestas
Copy link
Member

No description provided.

@netlify
Copy link

netlify bot commented Jun 5, 2023

Deploy Preview for truthpost ready!

Name Link
🔨 Latest commit c2d66ad
🔍 Latest deploy log https://app.netlify.com/sites/truthpost/deploys/64878cf545c41c0008377d08
😎 Deploy Preview https://deploy-preview-171--truthpost.netlify.app/
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

gratestas added 21 commits June 12, 2023 21:43
This commit addresses a bug in the EthereumProvider component where the blockNumber was incorrectly changing based on chainId when calling the switchAppChain function. Since the fetchGraphMetadata function is asynchronous and relies on the chainId state, the blockNumber could being updated with a value from a different chain before the correct graphMetadata is fetched. The interval polling for fetching the graph metadata has been moved to a separate useEffect hook that runs whenever the chainId changes
@gratestas gratestas marked this pull request as ready for review June 12, 2023 19:08
0xferit
0xferit previously approved these changes Jun 12, 2023
}

if (newPath !== location.pathname) {
navigate(newPath, { replace: true });
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need to erase the history?

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

No Coverage information No Coverage information
0.0% 0.0% Duplication

@gratestas gratestas requested a review from 0xferit June 12, 2023 21:27
@0xferit 0xferit merged commit 43f4d1d into develop Jun 12, 2023
@0xferit 0xferit deleted the refactor/routing branch June 12, 2023 21:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Hide network components on nav When the page does not contain Ethereum content Simplify routing logic Use a router that supports new data APIs

3 participants