Skip to content

Commit

Permalink
removed button until ready on testnets
Browse files Browse the repository at this point in the history
  • Loading branch information
radumojic committed Nov 13, 2024
1 parent 68ac61a commit 6cd2419
Showing 1 changed file with 11 additions and 15 deletions.
26 changes: 11 additions & 15 deletions src/pages/Transactions/Transactions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ import {
useGetPage,
useGetTransactionFilters,
useFetchTransactions,
useGetShardText,
useIsMainnet
useGetShardText
} from 'hooks';
import { activeNetworkSelector } from 'redux/selectors';
import { transactionsRoutes } from 'routes';
Expand All @@ -21,7 +20,6 @@ export const Transactions = () => {
const [searchParams] = useSearchParams();
const getShardText = useGetShardText();
const urlParams = useGetTransactionFilters();
const isMainnet = useIsMainnet();
const { senderShard, receiverShard } = urlParams;

const { firstPageRefreshTrigger } = useGetPage();
Expand Down Expand Up @@ -83,18 +81,16 @@ export const Transactions = () => {
{getShardText(receiverShard)}
</>
)}
<PulsatingLed className='mx-2' />
{isMainnet && (
<div className='d-flex align-items-center flex-wrap gap-2'>
<NetworkLink
to={transactionsRoutes.transactionsInPool}
className='btn btn-sm btn-dark-gradient'
>
Transaction Pool
</NetworkLink>
<MethodList />
</div>
)}
<PulsatingLed className='mx-2 mt-1' />
<div className='d-flex align-items-center flex-wrap gap-2'>
{/* <NetworkLink
to={transactionsRoutes.transactionsInPool}
className='btn btn-sm btn-dark-gradient'
>
Transaction Pool
</NetworkLink> */}
<MethodList />
</div>
</h5>
}
/>
Expand Down

0 comments on commit 6cd2419

Please sign in to comment.