Skip to content

Commit

Permalink
chore: moved my offers/requests in the user menu
Browse files Browse the repository at this point in the history
  • Loading branch information
goto-eof committed Apr 27, 2023
1 parent 0495d1e commit 69409b5
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src/Main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export default function Main() {
</HStack>
</HStack>
<Flex alignItems={'center'}>
<HStack
{/* <HStack
display={{ base: 'none', md: 'flex' }}
mr={4}
style={{ cursor: 'pointer', userSelect: 'none' }}
Expand All @@ -117,7 +117,7 @@ export default function Main() {
{link.name}
</Box>
))}
</HStack>
</HStack> */}
{isAuthenticated() && (
<Button
variant={'solid'}
Expand Down Expand Up @@ -154,9 +154,13 @@ export default function Main() {
>
Logout
</MenuItem>
<MenuItem>Link 2</MenuItem>
<MenuDivider />
<MenuItem>Link 3</MenuItem>
<MenuItem onClick={() => navigate('/myOffers')}>
My Offers
</MenuItem>
<MenuItem onClick={() => navigate('/myRequests')}>
My Requests
</MenuItem>
</MenuList>
</Menu>
)}
Expand Down

0 comments on commit 69409b5

Please sign in to comment.