From 7c5e4469ba5475682112d3e555dfd48b69050b16 Mon Sep 17 00:00:00 2001 From: lijianan <574980606@qq.com> Date: Wed, 15 Mar 2023 12:22:59 +0800 Subject: [PATCH] chore: add displayName (#41245) * test: fix ci fail * fix * fix --- components/empty/simple.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/components/empty/simple.tsx b/components/empty/simple.tsx index 375a9da2d4..caeeecc94a 100644 --- a/components/empty/simple.tsx +++ b/components/empty/simple.tsx @@ -37,4 +37,8 @@ const Simple = () => { ); }; +if (process.env.NODE_ENV !== 'production') { + Simple.displayName = 'SimpleImage'; +} + export default Simple;