Skip to content

Commit

Permalink
app: use display name, if available
Browse files Browse the repository at this point in the history
  • Loading branch information
fidiego committed Jul 15, 2024
1 parent f5ef324 commit 7166278
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ export default async function Home({ searchParams }) {
apps.map((app) => (
<Card className="p-6" key={app.id}>
<span>
<h2 className="text-lg font-semibold mb-2">{app.name}</h2>
<h2 className="text-lg font-semibold mb-2">
{app.display_name ? app.display_name : app.name}
</h2>
<p className="text-xs leading-relaxed">{app.description}</p>
</span>

Expand Down

0 comments on commit 7166278

Please sign in to comment.