From 3bede1da446eddd2bdeeaaafbb3545164657eb25 Mon Sep 17 00:00:00 2001 From: Noa Santo <72336443+virus-rpi@users.noreply.github.com> Date: Thu, 28 Nov 2024 16:48:20 +0000 Subject: [PATCH] fix: update OrderedList prop name for styled component --- src/components/legacy/markdown/custom-components.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/legacy/markdown/custom-components.tsx b/src/components/legacy/markdown/custom-components.tsx index 94eed709..6a06739e 100644 --- a/src/components/legacy/markdown/custom-components.tsx +++ b/src/components/legacy/markdown/custom-components.tsx @@ -40,9 +40,9 @@ const UnorderedList = styled.ul` } `; -const OrderedList = styled.ol<{ doubleDigit: boolean }>` +const OrderedList = styled.ol<{ $doubleDigit: boolean }>` line-height: 150%; - padding-left: ${(props) => (props.doubleDigit ? '26px' : '18px')}; + padding-left: ${(props) => (props.$doubleDigit ? '26px' : '18px')}; margin: 0 0 16px; > li > p { @@ -194,7 +194,7 @@ const customSatellytesComponents = { }, ol(props) { return ( - 9}> + 9}> {props.children} );