From 5721b25c3ace6e0dc336e2bfc7a0e45fd575a5a8 Mon Sep 17 00:00:00 2001 From: fragosti Date: Wed, 2 Jan 2019 16:08:15 +0100 Subject: feat: give all stateless components a displayName or make them private --- packages/instant/src/components/section_header.tsx | 1 + 1 file changed, 1 insertion(+) (limited to 'packages/instant/src/components/section_header.tsx') diff --git a/packages/instant/src/components/section_header.tsx b/packages/instant/src/components/section_header.tsx index d0974ebdc..2185b67ba 100644 --- a/packages/instant/src/components/section_header.tsx +++ b/packages/instant/src/components/section_header.tsx @@ -18,3 +18,4 @@ export const SectionHeader: React.StatelessComponent = props ); }; +SectionHeader.displayName = 'SectionHeader'; -- cgit v1.2.3