diff --git a/apps/contract-verification/src/app/routes.tsx b/apps/contract-verification/src/app/routes.tsx index 8a5f006b64..f7f72a5793 100644 --- a/apps/contract-verification/src/app/routes.tsx +++ b/apps/contract-verification/src/app/routes.tsx @@ -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={ - + } /> diff --git a/apps/contract-verification/src/app/views/HomeView.tsx b/apps/contract-verification/src/app/views/VerifyView.tsx similarity index 99% rename from apps/contract-verification/src/app/views/HomeView.tsx rename to apps/contract-verification/src/app/views/VerifyView.tsx index 75c6880ff4..521d3aa92c 100644 --- a/apps/contract-verification/src/app/views/HomeView.tsx +++ b/apps/contract-verification/src/app/views/VerifyView.tsx @@ -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('') diff --git a/apps/contract-verification/src/app/views/index.ts b/apps/contract-verification/src/app/views/index.ts index aad7f1311c..629111037b 100644 --- a/apps/contract-verification/src/app/views/index.ts +++ b/apps/contract-verification/src/app/views/index.ts @@ -1 +1 @@ -export {HomeView} from './HomeView' +export {VerifyView} from './VerifyView'