Skip to content

Commit 77b4bc8

Browse files
authored
move to i18n
1 parent da375a2 commit 77b4bc8

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

packages/i18n/src/locales/en.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"containers": {
44
"footer": {
55
"links": {
6-
"openJSFoundation": "OpenJS Foundation",
6+
"openJSFoundation": "© OpenJS Foundation",
77
"trademarkPolicy": "Trademark Policy",
88
"privacyPolicy": "Privacy Policy",
99
"versionSupport": "Version Support",

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

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

63-
{navigation.footerLinks.slice(0, -1).map((item, index) => (
63+
{navigation.footerLinks.slice(0, -1).map(item => (
6464
<NavItem
6565
key={item.link}
6666
type="footer"
6767
href={item.link}
6868
as={as}
6969
pathname={pathname}
7070
>
71-
{index === 0 ? '© ' : ''}
7271
{item.text}
7372
</NavItem>
7473
))}

0 commit comments

Comments
 (0)