DEV Community 👩‍💻👨‍💻

Cover image for BUG: multiple message boxes in antd
Visakh Vijayan
Visakh Vijayan

Posted on • Updated on

BUG: multiple message boxes in antd

We use antd in our react project. We saw for some reason they were showing up multiple times on a single event click. We were able to solve it using a config options for the message function.

message.config({maxCount: 1});
Enter fullscreen mode Exit fullscreen mode

This is what you will be needing basically.

Top comments (0)

🌚 Life is too short to browse without dark mode