Skip to content

Commit

Permalink
fix portuguese lang code
Browse files Browse the repository at this point in the history
  • Loading branch information
thedannywahl committed Feb 29, 2024
1 parent f26853f commit 53e0d50
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
3 changes: 2 additions & 1 deletion isp-site/src/components/RenderTopNavBar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,8 @@ function RenderTopNavBar({ language }) {
EN: "https://www.instructure.com/contact-us",
ES_LA:
"https://www.instructure.com/es/contact-us",
PT: "https://www.instructure.com/pt-br/contato",
PT_BR:
"https://www.instructure.com/pt-br/contato",
DE: "https://www.instructure.com/de/contact-us",
}[l]
}
Expand Down
9 changes: 8 additions & 1 deletion isp-site/src/components/mdtoui.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,14 @@ const mdtoui = {
return (
<Table.Row {...tbrProps}>
{Children.map(children, (child) => {
return <Table.Cell {...child.props} />;
const { children, ...tdProps } = child.props;
return (
<Table.Cell {...tdProps}>
{Children.map(children, (child) => {
return child;
})}
</Table.Cell>
);
})}
</Table.Row>
);
Expand Down

0 comments on commit 53e0d50

Please sign in to comment.