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)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs