Skip to content

Commit

Permalink
Remove unused RouteResolver
Browse files Browse the repository at this point in the history
  • Loading branch information
vyorkin committed Aug 21, 2024
1 parent 8f31062 commit 1b06b7d
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 95 deletions.
9 changes: 4 additions & 5 deletions src/ui/App/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import relativeTime from 'dayjs/plugin/relativeTime';
import { GetStarted } from 'src/ui/pages/GetStarted';
import { Intro } from 'src/ui/pages/Intro';
import { Overview } from 'src/ui/pages/Overview';
import { RouteResolver } from 'src/ui/pages/RouteResolver';
import { RequestAccounts } from 'src/ui/pages/RequestAccounts';
import { SendTransaction } from 'src/ui/pages/SendTransaction';
import { SignMessage } from 'src/ui/pages/SignMessage';
Expand Down Expand Up @@ -230,7 +229,7 @@ function Views({ initialRoute }: { initialRoute?: string }) {
path="/nft/:chain/:asset_code"
element={
<RequireAuth>
<NonFungibleToken />
<RequestAccounts />
</RequireAuth>
}
/>
Expand Down Expand Up @@ -267,10 +266,10 @@ function Views({ initialRoute }: { initialRoute?: string }) {
}
/>
<Route
path="/reveal-private-key/*"
path="/backup-wallet/*"
element={
<RequireAuth>
<RevealPrivateKey />
<BackupWallet />
</RequireAuth>
}
/>
Expand All @@ -292,7 +291,6 @@ function Views({ initialRoute }: { initialRoute?: string }) {
</RequireAuth>
}
/>
<Route path="/testnetModeGuard" element={<TestnetModeGuard />} />
<Route
path="/siwe/*"
element={
Expand All @@ -317,6 +315,7 @@ function Views({ initialRoute }: { initialRoute?: string }) {
</RequireAuth>
}
/>
{/* TODO: Should this page be removed? */}
<Route
path="/switchEthereumChain"
element={
Expand Down
25 changes: 0 additions & 25 deletions src/ui/components/Splash/Splash.tsx

This file was deleted.

1 change: 0 additions & 1 deletion src/ui/components/Splash/index.ts

This file was deleted.

63 changes: 0 additions & 63 deletions src/ui/pages/RouteResolver/RouteResolver.tsx

This file was deleted.

1 change: 0 additions & 1 deletion src/ui/pages/RouteResolver/index.ts

This file was deleted.

0 comments on commit 1b06b7d

Please sign in to comment.