Skip to content

Commit

Permalink
restore access to user profile
Browse files Browse the repository at this point in the history
  • Loading branch information
1aristotelis committed Aug 26, 2023
1 parent 8ecd469 commit a41a472
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 574 deletions.
2 changes: 1 addition & 1 deletion components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ function Header() {
</svg>
</div>
</Link> */}
<Link href={`/settings`}>
<Link href={`/profile/${paymail}`}>
<div className="relative ml-4 flex h-8 w-8 cursor-pointer items-center justify-center">
<UserIcon src={avatar!} size={36} />
</div>
Expand Down
2 changes: 1 addition & 1 deletion components/SideBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const SideBar = () => {
<div className='py-6 xl:p-6 items-center bg-primary-200 dark:bg-primary-800/20 w-full h-full flex flex-col'>
<div className='w-fit xl:w-full flex mb-2.5 items-center '>
{authenticated ? (<>
<Link className='cursor-pointer' href={`/settings`}>
<Link className='cursor-pointer' href={`/profile/${paymail}`}>
<UserIcon src={avatar!} size={36}/>
</Link>
<div className='ml-3 hidden xl:block'>
Expand Down
Loading

0 comments on commit a41a472

Please sign in to comment.