Skip to content

Commit

Permalink
refactor(extension): removing unused vars
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrorezende committed Nov 7, 2023
1 parent dedad3a commit 02e6bb3
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion apps/extension/src/App/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ import { ConnectedSites } from "./ConnectedSites";
import { LockWrapper } from "./LockWrapper";
import { Setup } from "./Setup";
import { AccountManagementRoute, TopLevelRoute } from "./types";
import { LockKey } from "./Common/LockKey";

export enum Status {
Completed = "Completed",
Expand Down
4 changes: 2 additions & 2 deletions apps/extension/src/Setup/Ledger/LedgerConfirmation.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import React, { useEffect } from "react";
import React from "react";

import { ActionButton, Heading, Text, ViewKeys } from "@namada/components";
import { DerivedAccount } from "@namada/types";
import { formatRouterPath } from "@namada/utils";
import { HeaderContainer } from "Setup/Setup.components";
import { LedgerConnectRoute, TopLevelRoute } from "Setup/types";
import { useLocation, useNavigate } from "react-router-dom";
import { closeCurrentTab } from "utils";
import { DerivedAccount } from "@namada/types";

type LedgerConfirmationStateProps = {
account: DerivedAccount;
Expand Down
1 change: 0 additions & 1 deletion apps/extension/src/Setup/Setup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ const AnimatedTransition: React.FC<AnimatedTransitionProps> = (props) => {
};

export const Setup: React.FC = () => {
const requester = useRequester();
const theme = getTheme("dark");
const navigate = useNavigate();
const location = useLocation();
Expand Down

0 comments on commit 02e6bb3

Please sign in to comment.