chore: add displayName (#41245)

* test: fix ci fail

* fix

* fix
This commit is contained in:
lijianan 2023-03-15 12:22:59 +08:00 committed by GitHub
parent 31555161e9
commit 7c5e4469ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,4 +37,8 @@ const Simple = () => {
);
};
if (process.env.NODE_ENV !== 'production') {
Simple.displayName = 'SimpleImage';
}
export default Simple;