Commit 508f38b8 authored by isstuev's avatar isstuev

megre fix

parent 9f1b2184
...@@ -130,8 +130,8 @@ const ContractCode = ({ addressHash }: Props) => { ...@@ -130,8 +130,8 @@ const ContractCode = ({ addressHash }: Props) => {
<AddressLink type="address" hash={ data.verified_twin_address_hash } truncation="constant" ml={ 2 }/> <AddressLink type="address" hash={ data.verified_twin_address_hash } truncation="constant" ml={ 2 }/>
</Address> </Address>
<chakra.span mt={ 1 }>All functions displayed below are from ABI of that contract. In order to verify current contract, proceed with </chakra.span> <chakra.span mt={ 1 }>All functions displayed below are from ABI of that contract. In order to verify current contract, proceed with </chakra.span>
<LinkInternal href={ route({ pathname: '/address/[hash]/contract_verification', query: { hash: addressHash || "" } }) }> <LinkInternal href={ route({ pathname: '/address/[hash]/contract_verification', query: { hash: addressHash || '' } }) }>
Verify & Publish Verify & Publish
</LinkInternal> </LinkInternal>
<span> page</span> <span> page</span>
</Alert> </Alert>
......
...@@ -6,7 +6,6 @@ import type { SmartContractWriteMethod } from 'types/api/contract'; ...@@ -6,7 +6,6 @@ import type { SmartContractWriteMethod } from 'types/api/contract';
import config from 'configs/app/config'; import config from 'configs/app/config';
import useApiQuery from 'lib/api/useApiQuery'; import useApiQuery from 'lib/api/useApiQuery';
import getQueryParamString from 'lib/router/getQueryParamString';
import ContractMethodsAccordion from 'ui/address/contract/ContractMethodsAccordion'; import ContractMethodsAccordion from 'ui/address/contract/ContractMethodsAccordion';
import ContentLoader from 'ui/shared/ContentLoader'; import ContentLoader from 'ui/shared/ContentLoader';
import DataFetchAlert from 'ui/shared/DataFetchAlert'; import DataFetchAlert from 'ui/shared/DataFetchAlert';
......
...@@ -90,7 +90,7 @@ const TokenPageContent = () => { ...@@ -90,7 +90,7 @@ const TokenPageContent = () => {
}); });
const contractQuery = useApiQuery('address', { const contractQuery = useApiQuery('address', {
pathParams: { id: hashString }, pathParams: { hash: hashString },
queryOptions: { enabled: Boolean(router.query.hash) }, queryOptions: { enabled: Boolean(router.query.hash) },
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment