Skip to content

Commit

Permalink
fix(homePage): fix react error
Browse files Browse the repository at this point in the history
- Change array classname to string
- Fix translation of Network information
  • Loading branch information
Torresmorah committed Sep 12, 2022
1 parent 0522b97 commit df5974a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion webapp/src/components/Footer/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const Footer = () => {
</div>
</div>
<div>
<List className={[classes.footerMenuWrapper, classes.sidebarFooter]}>
<List className={`${classes.footerMenuWrapper} ${classes.sidebarFooter}`}>
{generalConfig.featBug.map((link, index) => (
<ListItem className={classes.listItem} key={index}>
<ListItemText
Expand Down
2 changes: 1 addition & 1 deletion webapp/src/components/Sidebar/NavLink.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { forwardRef } from 'react'
import { NavLink as RouterNavLink } from 'react-router-dom'

const NavLink = forwardRef(function NavLink(props, ref) {
return <RouterNavLink innerref={ref} {...props} />
return <RouterNavLink innerRef={ref} {...props} />
})

export default NavLink
2 changes: 1 addition & 1 deletion webapp/src/language/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
"/help>sidebar": "Ayuda",
"/help>title": "Ayuda - Panel",
"/help>heading": "Ayuda",
"networkInformation": "Información de a red",
"networkInformation": "Información de la red",
"tools": "Herramientas",
"docs": "Documentación",
"community": "Comunidad",
Expand Down

0 comments on commit df5974a

Please sign in to comment.