From daf89dcef3ef2c10bd6bb62b6c21c852f60fbbd0 Mon Sep 17 00:00:00 2001 From: nathanyoung <1447339+nathanyoung@users.noreply.github.com> Date: Fri, 26 Jan 2024 15:34:45 -0800 Subject: [PATCH] Update CardHeader.tsx --- src/components/Card/components/CardHeader/CardHeader.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/Card/components/CardHeader/CardHeader.tsx b/src/components/Card/components/CardHeader/CardHeader.tsx index e3947c161..e09188daa 100644 --- a/src/components/Card/components/CardHeader/CardHeader.tsx +++ b/src/components/Card/components/CardHeader/CardHeader.tsx @@ -1,6 +1,5 @@ import React, { FC, ReactNode } from 'react'; import { Box, BoxProps } from '../../../Box/Box'; -import { Heading } from '../../../Heading/Heading'; export interface CardHeaderProps extends BoxProps { /** @@ -32,7 +31,7 @@ export const CardHeader: FC = ({ }) => { const renderTitle = () => ( typeof title === 'string' - ? {title} + ? {title} : title );