From 0f47b50df0c7d30cb588932f511c40df1660627c Mon Sep 17 00:00:00 2001 From: afc163 Date: Tue, 7 Sep 2021 13:07:41 +0800 Subject: [PATCH] fix: Alert message could be nullable (#32057) * fix: Alert message could be nullable close #32047 * update snapshot --- .../__tests__/__snapshots__/demo.test.ts.snap | 72 ------------------- .../__snapshots__/index.test.tsx.snap | 15 +--- components/alert/__tests__/index.test.tsx | 9 +++ components/alert/index.tsx | 8 +-- .../__tests__/__snapshots__/demo.test.js.snap | 3 - .../__snapshots__/components.test.js.snap | 18 ----- 6 files changed, 13 insertions(+), 112 deletions(-) diff --git a/components/alert/__tests__/__snapshots__/demo.test.ts.snap b/components/alert/__tests__/__snapshots__/demo.test.ts.snap index 5c781b14de..1f736dbadf 100644 --- a/components/alert/__tests__/__snapshots__/demo.test.ts.snap +++ b/components/alert/__tests__/__snapshots__/demo.test.ts.snap @@ -34,9 +34,6 @@ Array [ > Success Tips -
Warning Text
-
Warning text
-
,
, @@ -346,9 +337,6 @@ Array [ > Very long warning text warning text text text text text text text -