justdlabs / justd

Justd is a chill set of React components, built on top of React Aria Components and Tailwind CSS. Easy to customize and just copy & paste into your React projects.
https://getjustd.com
MIT License
594 stars 34 forks source link

Documentation for Toast Component rendered twice #209

Closed Deri-Kurniawan closed 1 month ago

Deri-Kurniawan commented 1 month ago

Describe the bug When the button to display toast is clicked on the component documentation page. There are two toast that appear, and they are more obvious when the toast is closed.

All toasts on the page are rendered twice.

To Reproduce Steps to reproduce the behavior:

  1. Go to Toast Component Documentation
  2. Click on "Show Toast" button
  3. See toast rendered twice (clearer when closed)

Expected behavior It should only be one that appears, if two like that I assume that the component is problematic, it turns out that it is only in the documentation.

Screenshots You can see it more clearly here Jam bug report

Desktop (please complete the following information):

Smartphone (please complete the following information): none

Additional context none

irsyadadl commented 1 month ago

Solved in 25a9089