From 150918092996844de910a99c71dd8c896050010c Mon Sep 17 00:00:00 2001 From: Anton Nikolaev Date: Wed, 22 Apr 2020 14:00:29 -0700 Subject: [PATCH] Fixed warning about using kebab-style for emotion styling Summary: Just fixed warning that kebab-style properties are deprecated and camel-case should be used instead Reviewed By: mweststrate Differential Revision: D21178489 fbshipit-source-id: 9fba323b3c6ccfce7eb2acc97aa57526305e24ac --- desktop/app/src/ui/components/Markdown.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/desktop/app/src/ui/components/Markdown.tsx b/desktop/app/src/ui/components/Markdown.tsx index ed7cca53d..f500229d2 100644 --- a/desktop/app/src/ui/components/Markdown.tsx +++ b/desktop/app/src/ui/components/Markdown.tsx @@ -30,8 +30,8 @@ const Heading = styled.div<{level: number}>((props) => ({ fontWeight: props.level > 1 ? 'bold' : 'normal', })); const ListItem = styled.li({ - 'list-style-type': 'circle', - 'list-style-position': 'inside', + listStyleType: 'circle', + listStylePosition: 'inside', marginLeft: 10, }); const Strong = styled.span({