Rename HomeView to VerifyView

pull/5285/head
Kaan Uzdoğan 5 months ago committed by Aniket
parent 1f191c47c4
commit 747b98d077
  1. 4
      apps/contract-verification/src/app/routes.tsx
  2. 2
      apps/contract-verification/src/app/views/VerifyView.tsx
  3. 2
      apps/contract-verification/src/app/views/index.ts

@ -1,7 +1,7 @@
import React from 'react'
import {HashRouter as Router, Route, Routes, RouteProps} from 'react-router-dom'
import {HomeView} from './views'
import {VerifyView} from './views'
import {DefaultLayout} from './layouts'
const DisplayRoutes = () => (
@ -11,7 +11,7 @@ const DisplayRoutes = () => (
path="/"
element={
<DefaultLayout from="/" title="Verify Smart Contracts">
<HomeView />
<VerifyView />
</DefaultLayout>
}
/>

@ -7,7 +7,7 @@ import {ContractDropdown} from '../components/ContractDropdown'
import {ethers} from 'ethers/'
import {Chain} from '../types/VerificationTypes'
export const HomeView = () => {
export const VerifyView = () => {
const {chains, compilationOutput, sourcifyVerifiers, selectedContractFileAndName} = React.useContext(AppContext)
const [contractAddress, setContractAddress] = useState('')
const [contractAddressError, setContractAddressError] = useState('')

@ -1 +1 @@
export {HomeView} from './HomeView'
export {VerifyView} from './VerifyView'

Loading…
Cancel
Save