From ec3c4d55659f6c51b9ae441bd6e5cfb70da6175b Mon Sep 17 00:00:00 2001 From: Jubal Mabaquiao Date: Sat, 23 Nov 2024 10:40:08 +0800 Subject: [PATCH] fixed formatting issues --- app/ts/components/subcomponents/MultilineCard.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/ts/components/subcomponents/MultilineCard.tsx b/app/ts/components/subcomponents/MultilineCard.tsx index 0fb5d5ff..2eff04ab 100644 --- a/app/ts/components/subcomponents/MultilineCard.tsx +++ b/app/ts/components/subcomponents/MultilineCard.tsx @@ -47,8 +47,8 @@ const ActionableIcon = (props: ActionableIconProps) => { } const CardIcon = props.icon - const handleClick = props.onClick ? props.onClick === 'clipboard-copy' ? copyTextToClipboard : props.onClick : undefined - const copyValue = props.onClick === 'clipboard-copy' ? props.copyValue : undefined + const handleClick = props.onClick ? props.onClick === 'clipboard-copy' ? copyTextToClipboard : props.onClick : undefined + const copyValue = props.onClick === 'clipboard-copy' ? props.copyValue : undefined const hintText = props.onClick ? props.hintText : undefined return ( @@ -106,7 +106,7 @@ const ActionableText = (props: ActionableTextProps) => { return ( - + )