diff --git a/app/soapbox/components/ui/card/card.tsx b/app/soapbox/components/ui/card/card.tsx index 25238c984..701477ac7 100644 --- a/app/soapbox/components/ui/card/card.tsx +++ b/app/soapbox/components/ui/card/card.tsx @@ -81,8 +81,8 @@ interface ICardTitle { } /** A card's title. */ -const CardTitle = ({ title }: ICardTitle): JSX.Element => ( - {title} +const CardTitle: React.FC = ({ title }): JSX.Element => ( + {title} ); /** A card's body. */