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

Move "isAzorius" from Read Only Values to "governance" state #2511

Open
wants to merge 1 commit into
base: remove-unused-governance-type-enums
Choose a base branch
from

Conversation

adamgall
Copy link
Member

This PR removes the dao object from readOnlyValues state. The dao object only had one property on it, called isAzorius. I've moved that over into global state into the governance state, and calculated its value in the reducer action that take the type of DAO. if the type is one of the Azorius types then this is true, else false.

Copy link

netlify bot commented Nov 18, 2024

Deploy Preview for decent-interface-dev ready!

Name Link
🔨 Latest commit f87bd90
🔍 Latest deploy log https://app.netlify.com/sites/decent-interface-dev/deploys/673baf4f6d99f2000821139a
😎 Deploy Preview https://deploy-preview-2511.app.dev.decentdao.org
📱 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 configuration.

@adamgall adamgall force-pushed the remove-unused-governance-type-enums branch from 1392677 to 2a99faa Compare November 18, 2024 20:36
@adamgall adamgall force-pushed the move-isazorius-boolean-to-governance-state branch from c6d58a5 to 1bd2367 Compare November 18, 2024 20:36
Copy link
Contributor

@mudrila mudrila left a comment

Choose a reason for hiding this comment

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

Oh my god...
This day has come...
So as I (if ya know what I mean 🤣 😎 )

@adamgall
Copy link
Member Author

Oh wait I forgot to delete more stuff from the useReadOnlyValues hook.

@adamgall adamgall force-pushed the move-isazorius-boolean-to-governance-state branch from 1bd2367 to c92578b Compare November 18, 2024 20:51
@adamgall
Copy link
Member Author

Ok that's better

@adamgall adamgall force-pushed the move-isazorius-boolean-to-governance-state branch from c92578b to c72b7a3 Compare November 18, 2024 20:57
@adamgall adamgall force-pushed the move-isazorius-boolean-to-governance-state branch from c72b7a3 to f87bd90 Compare November 18, 2024 21:19
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