From e0513b3e2d8750308ce1e4b4f8a65ee2256e37f1 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sat, 16 Jul 2022 16:12:29 +0200 Subject: [PATCH] Add missing displayNames due to memo --- components/auth/telegram/loginButton.tsx | 1 + components/generic/errors/renderers.tsx | 2 ++ components/generic/loading/textInline.tsx | 1 + components/generic/renderers/fontawesome.tsx | 1 + components/generic/renderers/markdown.tsx | 1 + components/generic/toolbar/bar.tsx | 1 + components/generic/toolbar/tool.tsx | 1 + components/generic/views/content.tsx | 1 + components/generic/views/landing.tsx | 1 + components/generic/views/notice.tsx | 1 + 10 files changed, 11 insertions(+) diff --git a/components/auth/telegram/loginButton.tsx b/components/auth/telegram/loginButton.tsx index 6ede399..f3e085c 100644 --- a/components/auth/telegram/loginButton.tsx +++ b/components/auth/telegram/loginButton.tsx @@ -17,3 +17,4 @@ export const TelegramLoginButton = memo((props: TelegramLoginButtonProps) => { ) }) +TelegramLoginButton.displayName = "TelegramLoginButton" diff --git a/components/generic/errors/renderers.tsx b/components/generic/errors/renderers.tsx index f46a794..fd7286f 100644 --- a/components/generic/errors/renderers.tsx +++ b/components/generic/errors/renderers.tsx @@ -82,6 +82,7 @@ export const ErrorInline = memo((props: ErrorInlineProps) => { ) }) +ErrorInline.displayName = "ErrorInline" export type ErrorBlockProps = { @@ -110,3 +111,4 @@ export const ErrorBlock = memo((props: ErrorBlockProps) => { ) }) +ErrorBlock.displayName = "ErrorBlock" \ No newline at end of file diff --git a/components/generic/loading/textInline.tsx b/components/generic/loading/textInline.tsx index 6cd4972..7ed0ffe 100644 --- a/components/generic/loading/textInline.tsx +++ b/components/generic/loading/textInline.tsx @@ -19,3 +19,4 @@ export const LoadingTextInline = memo((props: LoadingTextInlineProps) => { ) }) +LoadingTextInline.displayName = "LoadingTextInline" \ No newline at end of file diff --git a/components/generic/renderers/fontawesome.tsx b/components/generic/renderers/fontawesome.tsx index fb82abf..a18efb9 100644 --- a/components/generic/renderers/fontawesome.tsx +++ b/components/generic/renderers/fontawesome.tsx @@ -13,3 +13,4 @@ export const FestaIcon = memo((props: FontAwesomeIconProps) => { /> ) }) +FestaIcon.displayName = "FestaIcon" diff --git a/components/generic/renderers/markdown.tsx b/components/generic/renderers/markdown.tsx index bddcfff..f95aaf6 100644 --- a/components/generic/renderers/markdown.tsx +++ b/components/generic/renderers/markdown.tsx @@ -23,3 +23,4 @@ export const FestaMarkdownRenderer = memo(({ code }: FestaMarkdownRendererProps) ) }) +FestaMarkdownRenderer.displayName = "FestaMarkdownRenderer" diff --git a/components/generic/toolbar/bar.tsx b/components/generic/toolbar/bar.tsx index dffa345..8857268 100644 --- a/components/generic/toolbar/bar.tsx +++ b/components/generic/toolbar/bar.tsx @@ -48,3 +48,4 @@ export const ToolBar = memo((props: ToolBarProps) => { /> ) }) +ToolBar.displayName = "ToolBar" diff --git a/components/generic/toolbar/tool.tsx b/components/generic/toolbar/tool.tsx index 39eb8f6..32342ef 100644 --- a/components/generic/toolbar/tool.tsx +++ b/components/generic/toolbar/tool.tsx @@ -20,3 +20,4 @@ export const Tool = memo((props: ToolProps) => { /> ) }) +Tool.displayName = "Tool" diff --git a/components/generic/views/content.tsx b/components/generic/views/content.tsx index 5fffd0f..ce86022 100644 --- a/components/generic/views/content.tsx +++ b/components/generic/views/content.tsx @@ -22,3 +22,4 @@ export const ViewContent = memo((props: ViewContentProps) => { ) }) +ViewContent.displayName = "ViewContent" \ No newline at end of file diff --git a/components/generic/views/landing.tsx b/components/generic/views/landing.tsx index 59e26b1..a6fd7ab 100644 --- a/components/generic/views/landing.tsx +++ b/components/generic/views/landing.tsx @@ -31,3 +31,4 @@ export const ViewLanding = memo((props: ViewLandingProps) => { ) }) +ViewLanding.displayName = "ViewLanding" \ No newline at end of file diff --git a/components/generic/views/notice.tsx b/components/generic/views/notice.tsx index f8c5677..65888e2 100644 --- a/components/generic/views/notice.tsx +++ b/components/generic/views/notice.tsx @@ -19,3 +19,4 @@ export const ViewNotice = memo((props: ViewNoticeProps) => { ) }) +ViewNotice.displayName = "ViewNotice"