-
Notifications
You must be signed in to change notification settings - Fork 12
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
Scroll gov site improvements #508
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
||
const { contracts } = Tenant.current(); | ||
const { contracts, ui } = Tenant.current(); | ||
const shouldHideAgoraBranding = ui.hideAgoraBranding; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe consider flipping the language and the flag.
ie shouldHaveAgoraBranding
.
And then the setting should be false for when it's not wanted, and true by default.
Edit: spelling
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for me this makes sense because we don't even need to add a default -- if the tenant does not have this flag set, it will be undefined, which will be false, so it's default false. Then, if you want to hide, you have to go through the work of setting a flag.
happy to change though if the other way around makes sense to majority of other folks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
Fixes nits suggested by scroll team.