From 0ff4dac81689b2964c983e14a812d7db0566df8c Mon Sep 17 00:00:00 2001 From: konnorrogers Date: Thu, 17 Aug 2023 17:06:24 -0400 Subject: [PATCH] fix displayName --- scripts/make-react.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/scripts/make-react.js b/scripts/make-react.js index acd3e2b2f..ca57eb23a 100644 --- a/scripts/make-react.js +++ b/scripts/make-react.js @@ -57,10 +57,7 @@ components.map(component => { > = React.JSXElementConstructor< React.ComponentPropsWithoutRef & { ref?: React.ForwardedRef; - } & - // Adds { displayName?: string, propTypes?: {} } etc. - Omit, 'ref'> - >; + > & { Omit, 'ref'>; const tagName = '${component.tagName}'