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

fix: prevent page from crashing if no config found for network/safe #164

Conversation

gsteenkamp89
Copy link

@gsteenkamp89 gsteenkamp89 commented Apr 17, 2024

motivation

also closes UMA-2549

We now load all safes that meet criteria:

  • we have subgraphs for the network
  • oSnap is enabled on that safe
  • We can find the module address for the safe

In the case we can a safe defined in our space settings that does not meet these criteria, we just filter those out and display the ones that do. Show meaningful error in console.

Copy link

linear bot commented Apr 17, 2024

Copy link

vercel bot commented Apr 17, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
snapshot ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 18, 2024 5:31pm
snapshot-goerli ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 18, 2024 5:31pm

@gsteenkamp89 gsteenkamp89 requested a review from daywiss April 17, 2024 09:34
Copy link

@daywiss daywiss left a comment

Choose a reason for hiding this comment

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

seems to be fixed, thanks

Copy link

linear bot commented Apr 18, 2024

@gsteenkamp89 gsteenkamp89 merged commit d82ed3e into master Apr 23, 2024
6 checks passed
gsteenkamp89 added a commit that referenced this pull request Jul 3, 2024
* fix: prevent page from crashing if no config found for network/safe (#164)

* add multiple safes to builder

* small refactor & fix safe dropdown options

* ensure proposal page can handle single and multi safe proposals

* clean up

* handle switching networks gracefully for execution

* edit styles from feedback

---------

Co-authored-by: Chaitanya <[email protected]>
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.

2 participants