Skip to content

Commit

Permalink
Merge pull request #59 from piny940/client-update
Browse files Browse the repository at this point in the history
dashboardへのリンクを配置
  • Loading branch information
piny940 authored Nov 4, 2024
2 parents 473ff32 + 30c456d commit 62a1faa
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions frontend/src/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,14 @@ export const Header = (): JSX.Element => {
</Link>
<Box pr={4}>
{user && (
<Button color="inherit" onClick={logout}>
Logout
</Button>
<Box>
<Button sx={{ mx: 1 }} color="inherit" href="/member">
Dashboard
</Button>
<Button sx={{ mx: 1 }} color="inherit" onClick={logout}>
Logout
</Button>
</Box>
)}
</Box>
</Toolbar>
Expand Down

0 comments on commit 62a1faa

Please sign in to comment.