Skip to content

Commit

Permalink
Remove delegation page
Browse files Browse the repository at this point in the history
  • Loading branch information
ryutamago committed Sep 6, 2023
1 parent 2f6216c commit 7208ddb
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 204 deletions.
2 changes: 0 additions & 2 deletions src/Router.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import OperationsView from "./views/operations/OperationsView";
import SettingsView from "./views/settings/SettingsView";
import { withSideMenu } from "./views/withSideMenu";
import HelpView from "./views/help/HelpView";
import DelegationsView from "./views/delegations/DelegationsView";
import AddressBookView from "./views/addressBook/AddressBookView";
import BatchView from "./views/batch/BatchView";
import { resetBeacon, useBeaconInit } from "./utils/beacon/beacon";
Expand Down Expand Up @@ -52,7 +51,6 @@ const MemoizedRouter = React.memo(() => {
<Route path="/nfts" element={withSideMenu(<NFTsView />)} />
<Route path="/nfts/:ownerPkh/:nftId" element={withSideMenu(<NFTsView />)} />
<Route path="/operations" element={withSideMenu(<OperationsView />)} />
<Route path="/delegations" element={withSideMenu(<DelegationsView />)} />
<Route path="/tokens" element={withSideMenu(<TokensView />)} />
<Route path="/address-book" element={withSideMenu(<AddressBookView />)} />
<Route path="/settings" element={withSideMenu(<SettingsView />)} />
Expand Down
2 changes: 0 additions & 2 deletions src/components/SideNavbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import {
MdSupport,
MdViewCompact,
} from "react-icons/md";
import { RxCube } from "react-icons/rx";
import { Link } from "react-router-dom";
import colors from "../style/colors";
import { useTotalBalance } from "../utils/hooks/assetsHooks";
Expand Down Expand Up @@ -78,7 +77,6 @@ export const SideNavbar = () => {
<MenuItem label="Overview" to="/home" icon={MdViewCompact} />
<MenuItem label="NFTs" to="/nfts" icon={MdOutlineDiamond} />
<MenuItem label="Operations" to="/operations" icon={MdHistory} />
<MenuItem label="Delegations" to="/delegations" icon={RxCube} />
<MenuItem label="Tokens" to="/tokens" icon={MdMoney} />
<MenuItem label="Batch" to="/batch" icon={MdCalendarViewMonth} />
</Box>
Expand Down
61 changes: 0 additions & 61 deletions src/views/delegations/DelegationsView.test.tsx

This file was deleted.

139 changes: 0 additions & 139 deletions src/views/delegations/DelegationsView.tsx

This file was deleted.

0 comments on commit 7208ddb

Please sign in to comment.