diff --git a/src/lib/components/Footer/FooterCopyright.tsx b/src/lib/components/Footer/FooterCopyright.tsx index 2ee025418..c6b2c730f 100644 --- a/src/lib/components/Footer/FooterCopyright.tsx +++ b/src/lib/components/Footer/FooterCopyright.tsx @@ -3,7 +3,7 @@ import { FC, PropsWithChildren } from 'react'; export type CopyrightProps = PropsWithChildren<{ href?: string; - by?: string; + by: string; year?: number; className?: string; }>; @@ -11,15 +11,17 @@ export type CopyrightProps = PropsWithChildren<{ export const FooterCopyright: FC = ({ href, by, year, className }) => { return ( <> - {by && ( - - © {year} + + © {year} + {href ? ( {by} - . All Rights Reserved. - - )} + ) : ( + {by} + )} + . All Rights Reserved. + ); };