From 53e0d5036bdaed86a5d4c37f7ab97864c11869c0 Mon Sep 17 00:00:00 2001 From: Danny Wahl Date: Thu, 29 Feb 2024 14:28:12 -0700 Subject: [PATCH] fix portuguese lang code --- isp-site/src/components/RenderTopNavBar.jsx | 3 ++- isp-site/src/components/mdtoui.jsx | 9 ++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/isp-site/src/components/RenderTopNavBar.jsx b/isp-site/src/components/RenderTopNavBar.jsx index 99b448ab..331800ca 100644 --- a/isp-site/src/components/RenderTopNavBar.jsx +++ b/isp-site/src/components/RenderTopNavBar.jsx @@ -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] } diff --git a/isp-site/src/components/mdtoui.jsx b/isp-site/src/components/mdtoui.jsx index 6232a71a..216d480d 100644 --- a/isp-site/src/components/mdtoui.jsx +++ b/isp-site/src/components/mdtoui.jsx @@ -196,7 +196,14 @@ const mdtoui = { return ( {Children.map(children, (child) => { - return ; + const { children, ...tdProps } = child.props; + return ( + + {Children.map(children, (child) => { + return child; + })} + + ); })} );