Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use import meta env #187

Merged
merged 5 commits into from
Mar 12, 2025
Merged

Use import meta env #187

merged 5 commits into from
Mar 12, 2025

Conversation

kunstmusik
Copy link
Collaborator

No description provided.

@kunstmusik kunstmusik requested a review from a team as a code owner March 12, 2025 15:48
@@ -25,7 +25,8 @@ const GlobalDataProvider = ({ children }: { children: ReactElement }) => {

useEffect(() => {
const update = async () => {
queryClient.resetQueries();
await queryClient.cancelQueries();
Copy link
Contributor

Choose a reason for hiding this comment

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

why?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Added the cancel to cancel any existing queries prior to call to resetQueries. Saw some oddities when switching process IDs (e.g., mainnet to testnet) and this seems to have helped.

Copy link

Visit the preview URL for this PR (updated for commit ea4f228):

https://ar-io-network-portal-a40ee--pr187-use-import-meta-env-7r30vfj6.web.app

(expires Wed, 26 Mar 2025 17:49:20 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 7abfae09c4446982a71cbb94b0cbf4688377a111

@kunstmusik kunstmusik merged commit 9d0e8a0 into develop Mar 12, 2025
5 checks passed
@kunstmusik kunstmusik deleted the use-import-meta-env branch March 12, 2025 17:58
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.

3 participants