From 747cc8c5b9421f326bda24d5a89571947945f750 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Mon, 30 Jan 2023 13:38:29 -0600 Subject: [PATCH] StatusContent: size --> textSize --- app/soapbox/components/status-content.tsx | 8 ++++---- .../features/status/components/detailed-status.tsx | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/soapbox/components/status-content.tsx b/app/soapbox/components/status-content.tsx index 6cabe9d99..307faf679 100644 --- a/app/soapbox/components/status-content.tsx +++ b/app/soapbox/components/status-content.tsx @@ -36,7 +36,7 @@ interface IStatusContent { onClick?: () => void, collapsable?: boolean, translatable?: boolean, - size?: Sizes, + textSize?: Sizes, } /** Renders the text content of a status */ @@ -45,7 +45,7 @@ const StatusContent: React.FC = ({ onClick, collapsable = false, translatable, - size = 'md', + textSize = 'md', }) => { const history = useHistory(); @@ -170,7 +170,7 @@ const StatusContent: React.FC = ({ direction={direction} dangerouslySetInnerHTML={content} lang={status.language || undefined} - size={size} + size={textSize} />, ]; @@ -196,7 +196,7 @@ const StatusContent: React.FC = ({ direction={direction} dangerouslySetInnerHTML={content} lang={status.language || undefined} - size={size} + size={textSize} />, ]; diff --git a/app/soapbox/features/status/components/detailed-status.tsx b/app/soapbox/features/status/components/detailed-status.tsx index f579587ea..96361a0f8 100644 --- a/app/soapbox/features/status/components/detailed-status.tsx +++ b/app/soapbox/features/status/components/detailed-status.tsx @@ -110,8 +110,8 @@ const DetailedStatus: React.FC = ({