Skip to content

Commit

Permalink
Fix typeerror
Browse files Browse the repository at this point in the history
  • Loading branch information
owenmoogk committed Feb 7, 2025
1 parent 590cf8c commit 9a35735
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/projects/ProjectPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ export default function ProjectPage() {
return;
}

let externalLink = metaData.externalLink?.includes('https://')
let externalLink: string | undefined = metaData.externalLink?.includes(
'https://'
)
? metaData.externalLink
: homepageUrl + metaData.externalLink;
// if it doesn't exist just leave it
Expand Down

0 comments on commit 9a35735

Please sign in to comment.