chakra-ui / chakra-ui-docs

Documentation website for chakra ui
https://chakra-ui.com
MIT License
305 stars 472 forks source link

Fix broken promised-based toast example #1663

Closed mingjunlu closed 1 year ago

mingjunlu commented 1 year ago

Closes #1660

📝 Description

This PR fixes the broken promise-based toast example.

⛳️ Current behavior (updates)

The promised-based toast example shows an error message due to syntax error.

Before

🚀 New behavior

The error message no longer exists after the adjustment of the example code.

After

💣 Is this a breaking change (Yes/No):

No.

📝 Additional Information

Some changes are made by Prettier while formatting.

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
chakra-ui-docs ✅ Ready (Inspect) Visit Preview Oct 11, 2023 3:53pm