-
Notifications
You must be signed in to change notification settings - Fork 28
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
♻️ workshops landing when logged in #1765
base: development
Are you sure you want to change the base?
♻️ workshops landing when logged in #1765
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
…velopment-lumi-7608
… into development-lumi-7608
… into development-lumi-7608
{date?.ended && ( | ||
t('watch-recording') | ||
)} | ||
{date?.started && !date?.ended && ( | ||
t('join-workshop') | ||
|
||
)} | ||
{!date?.started && !date?.ended && ( | ||
t('register-workshop') | ||
)} | ||
{date?.started && ( | ||
<Icon icon="longArrowRight" width="24px" height="10px" color="currentColor" /> | ||
)} |
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.
These are nested conditions and we should avoid them inside the JSX. Instead, we should create a function before the return of this component, that returns the JSX with the conditions inside determining what to return
Issue: breatheco-de/breatheco-de#7608
Related Issue: breatheco-de/breatheco-de#8392