Skip to content

Commit

Permalink
fix(Notify): 修复开启多个通知会有闪动问题
Browse files Browse the repository at this point in the history
  • Loading branch information
79E committed Dec 7, 2022
1 parent 52e41be commit 11abfe4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/components/notify/controller.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ const show = (p: string | NotifyOptions) => {

useEffect(() => {
setVisible(true);
syncClear();
notifyArray.push(internalOnClosed);

if (duration && +duration > 0) {
Expand Down

0 comments on commit 11abfe4

Please sign in to comment.