From 51e2b780aee0031fd8bcdd3a2f224e0a20159812 Mon Sep 17 00:00:00 2001 From: Renan Felipe Date: Sun, 20 Dec 2020 16:57:31 -0300 Subject: [PATCH] Fix text component --- components/ui/Text/Text.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/ui/Text/Text.tsx b/components/ui/Text/Text.tsx index 29e1bef31..51e1cce15 100644 --- a/components/ui/Text/Text.tsx +++ b/components/ui/Text/Text.tsx @@ -26,7 +26,7 @@ const Text: FunctionComponent = ({ const componentsMap: { [P in Variant]: React.ComponentType | string } = { - body: 'p', + body: 'div', heading: 'h1', pageHeading: 'h1', sectionHeading: 'h2',