Fix https vs. http typo

This commit is contained in:
Amy Wang 2021-05-25 03:23:52 +00:00
parent be4ff8af56
commit e007dc1d24
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ const menu: NavLink[] = [
function NavItem(props: NavLink) { function NavItem(props: NavLink) {
const router = useRouter(); const router = useRouter();
const externalLink = const externalLink =
props.route.includes("https://") || props.route.includes("https://"); props.route.includes("http://") || props.route.includes("https://");
return ( return (
<> <>
{externalLink ? ( {externalLink ? (