Skip to content

Commit 4890e71

Browse files
committed
refactor: comment out Reward Board link in UserButton component
- Commented out the Reward Board link in the UserButton component to streamline the user interface. - Maintained the existing structure for potential future use.
1 parent 5b7fda0 commit 4890e71

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

components/login/user-button/UserButton.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,10 @@ export function UserButton() {
7979
<DropdownMenuItem asChild className='cursor-pointer'>
8080
<Link href='/profile'>Profile</Link>
8181
</DropdownMenuItem>
82-
<DropdownMenuItem asChild className='cursor-pointer'>
82+
{/* <DropdownMenuItem asChild className='cursor-pointer'>
8383
<Link href='/profile/rewards-board'>Reward Board</Link>
8484
</DropdownMenuItem>
85+
*/}
8586
<DropdownMenuItem
8687
onClick={() => setIsDialogOpen(true)}
8788
className='cursor-pointer'

0 commit comments

Comments
 (0)