Skip to content

Commit df2074c

Browse files
authored
fix: move copyright symbol to the correct element
Signed-off-by: Sebastian Beltran <bjohansebas@gmail.com>
1 parent 439f978 commit df2074c

File tree

1 file changed

+3
-3
lines changed
  • packages/ui-components/src/Containers/Footer

1 file changed

+3
-3
lines changed

packages/ui-components/src/Containers/Footer/index.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,15 @@ const Footer: FC<FooterProps> = ({
6060
<div className={styles.sectionPrimary}>
6161
{slots?.primary}
6262

63-
{navigation.footerLinks.slice(0, -1).map(item => (
63+
{navigation.footerLinks.slice(0, -1).map((item, index) => (
6464
<NavItem
6565
key={item.link}
6666
type="footer"
6767
href={item.link}
6868
as={as}
6969
pathname={pathname}
7070
>
71-
{item.text}
71+
{index === 0 ? "&copy; " : ''}{item.text}
7272
</NavItem>
7373
))}
7474
</div>
@@ -82,7 +82,7 @@ const Footer: FC<FooterProps> = ({
8282
as={as}
8383
pathname={pathname}
8484
>
85-
&copy; {openJSlink.text}
85+
{openJSlink.text}
8686
</NavItem>
8787

8888
<div className={styles.social}>

0 commit comments

Comments
 (0)