Skip to content

Conversation

jelowin
Copy link
Contributor

@jelowin jelowin commented Oct 26, 2023

molecule/notification

#2609:

Description, Motivation and Context

Types of changes

  • 🪲 Bug fix (non-breaking change which fixes an issue)
  • ✨ New feature (non-breaking change which adds functionality)
  • 💥 Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • 🧾 Documentation
  • 📷 Demo
  • 🧪 Test
  • 🧠 Refactor
  • 💄 Styles
  • 🛠️ Tool

Screenshots - Animations

@jelowin jelowin changed the title fix(components/molecule/notification): Fix MoleculeNotification butto… fix(components/molecule/notification): Fix MoleculeNotification buttons prop to avoid render contain Oct 26, 2023
@jelowin jelowin changed the title fix(components/molecule/notification): Fix MoleculeNotification buttons prop to avoid render contain ❓ fix(components/molecule/notification): Fix MoleculeNotification buttons prop to avoid render contain Oct 26, 2023
@jelowin jelowin changed the title ❓ fix(components/molecule/notification): Fix MoleculeNotification buttons prop to avoid render contain ❓ fix(components/molecule/notification): Fix MoleculeNotification buttons prop to avoid render container if no lenght Oct 26, 2023
@jelowin jelowin changed the title ❓ fix(components/molecule/notification): Fix MoleculeNotification buttons prop to avoid render container if no lenght ❓ fix(components/molecule/notification): Fix MoleculeNotification buttons prop to avoid render container if no length Oct 26, 2023
@@ -131,9 +131,9 @@ const MoleculeNotification = ({
</div>
)}
</div>
{buttons && (
{buttons.length ? (
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
{buttons.length ? (
{buttons?.length ? (

and remove the default value

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