Skip to content
This repository has been archived by the owner on Dec 27, 2024. It is now read-only.

Commit

Permalink
refactor: remove unused codes
Browse files Browse the repository at this point in the history
  • Loading branch information
taga3s committed Oct 30, 2024
1 parent 29849e7 commit ef8c216
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 31 deletions.
24 changes: 0 additions & 24 deletions public/ranking-icon.svg

This file was deleted.

7 changes: 1 addition & 6 deletions src/features/common/components/Menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,7 @@ export const Menu = () => {
name="プロフィール"
path="/profile"
icon={
<ProfileIcon
color={getMenuIconColor(
["/profile", "/profile/badges", "/profile/ranking", "/profile/settings"],
currentPath,
)}
/>
<ProfileIcon color={getMenuIconColor(["/profile", "/profile/badges", "/profile/settings"], currentPath)} />
}
/>
</ul>
Expand Down
1 change: 0 additions & 1 deletion src/features/common/components/header/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ const handlePageHeading = (pathname: string) => {
return <Heading1 title="達成状況分析" />;
case "/profile":
case "/profile/badges":
case "/profile/ranking":
case "/profile/settings":
return <Heading1 title="プロフィール" />;
default:
Expand Down

0 comments on commit ef8c216

Please sign in to comment.