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

Update StartupContainer.tsx #4805

Open
wants to merge 1 commit into
base: 1.0-develop
Choose a base branch
from

Conversation

NotYusta
Copy link
Contributor

Update variables title visibility, it will only be shown if there are variables available.

@@ -124,7 +124,7 @@ const StartupContainer = () => {
)}
</TitledGreyBox>
</div>
<h3 css={tw`mt-8 mb-2 text-2xl`}>Variables</h3>
{data.variables.length != 0 && <h3 css={tw`mt-8 mb-2 text-2xl`}>Variables</h3>}
Copy link
Member

Choose a reason for hiding this comment

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

Please use > 0. Also, if you are ever writing comparisons in the future, please use type-strict comparisons (!==, ===, etc)

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.

None yet

2 participants