Skip to content

Commit ca62947

Browse files
correctly displays name and username on home page
1 parent 5609c4f commit ca62947

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

client/src/pages/home.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ export default function Home() {
2525
<div className="mx-auto max-w-7xl space-y-3 px-4 py-6">
2626
{me && (
2727
<div>
28-
<p>Hello {me.first_name}</p>
28+
<p>
29+
Hello {me.first_name} ({me.username})
30+
</p>
2931
<Button onClick={logout}>Logout</Button>
3032
</div>
3133
)}

0 commit comments

Comments
 (0)