Skip to content

Commit

Permalink
fix(component): remove "All Rights Reserved" from <Footer.Copyright>
Browse files Browse the repository at this point in the history
We shouldn't require this phrase to use the component. Now you can just add "All Rights Reserved" to
the `<Footer.Copyright by=""/>` field, if you would like to.
  • Loading branch information
tulup-conner committed Jul 31, 2022
1 parent 77cb356 commit 150baea
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/lib/components/Footer/FooterCopyright.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,12 @@ export const FooterCopyright: FC<CopyrightProps> = ({ href, by, year }) => {
<span className={theme.base}>
© {year}
{href ? (
<a href={href} className={theme.base}>
<a href={href} className={theme.href}>
{by}
</a>
) : (
<span className={theme.span}>{by}</span>
)}
. All Rights Reserved.
</span>
</div>
);
Expand Down

0 comments on commit 150baea

Please sign in to comment.