Skip to content

Commit

Permalink
Chore: test
Browse files Browse the repository at this point in the history
  • Loading branch information
y-solb committed Jul 6, 2024
1 parent 6b65686 commit 2977313
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/app/(portfolio)/[username]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ type Props = {

export async function generateMetadata({ params }: Props): Promise<Metadata> {
const { username } = params
const portfolio = await fetchPortfolio(username)
if (!portfolio) {
return notFound()
const portfolio = {
thumbnail: '',
displayName: 'displayName',
shortBio: 'shortBio',
}

const title = removeTagsText(portfolio?.displayName)
Expand Down

0 comments on commit 2977313

Please sign in to comment.