From 66e69d543d95f89a323d4f8ac18457b150ac96ae Mon Sep 17 00:00:00 2001 From: Nilotpal Saha Date: Wed, 21 Aug 2024 11:39:07 +0530 Subject: [PATCH] fix(core): :bug: name will be converted to displayName name will be converted to displayName for react purposes Ref #305 --- package/components/dataDisplay/CoreAvatar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/components/dataDisplay/CoreAvatar.js b/package/components/dataDisplay/CoreAvatar.js index 22fb3c37..9778ed62 100644 --- a/package/components/dataDisplay/CoreAvatar.js +++ b/package/components/dataDisplay/CoreAvatar.js @@ -15,7 +15,7 @@ export default function CoreAvatar(props) { return ; } -CoreAvatar.name = "CoreAvatar"; +CoreAvatar.displayName = "CoreAvatar"; CoreAvatar.validProps = [ { description: "Used in combination with src or srcSet to provide an alt attribute for the rendered img element.",