to do: troubleshoot missing token in request headers

This commit is contained in:
Mikayla Dobson
2023-02-11 21:51:39 -06:00
parent 90a5bdf128
commit 1b73fa6b99
13 changed files with 109 additions and 114 deletions

View File

@@ -14,8 +14,7 @@ export default function Profile() {
return (
<Protect redirect="profile">
<div className="profile-authenticated">
<h1>{user?.firstname}'s Profile</h1>
<p>Things and stuff!</p>
<h1>{user && user.firstname}'s Profile</h1>
<Friends />
</div>
</Protect>