DEV Community

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

Posted on • Edited 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)

nextjs tutorial video

Youtube Tutorial Series 📺

So you built a Next.js app, but you need a clear view of the entire operation flow to be able to identify performance bottlenecks before you launch. But how do you get started? Get the essentials on tracing for Next.js from @nikolovlazar in this video series 👀

Watch the Youtube series