From 2b062b3e5b1ba0488072819470a3f33f57fc3da8 Mon Sep 17 00:00:00 2001 From: fmtabbara Date: Mon, 10 Jan 2022 23:00:17 +0000 Subject: [PATCH] add link to network explorer --- nym-wallet/src/pages/delegate/index.tsx | 10 +++++++++- nym-wallet/src/pages/settings/node-stats.tsx | 1 - 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/nym-wallet/src/pages/delegate/index.tsx b/nym-wallet/src/pages/delegate/index.tsx index fb36780474..a5845744c3 100644 --- a/nym-wallet/src/pages/delegate/index.tsx +++ b/nym-wallet/src/pages/delegate/index.tsx @@ -1,5 +1,5 @@ import React, { useEffect, useState } from 'react' -import { Alert, AlertTitle, Box, Button, CircularProgress } from '@mui/material' +import { Alert, AlertTitle, Box, Button, CircularProgress, Link, Typography } from '@mui/material' import { DelegateForm } from './DelegateForm' import { Layout } from '../../layouts' import { NymCard } from '../../components' @@ -8,6 +8,7 @@ import { TFee } from '../../types' import { getGasFee } from '../../requests' import { SuccessView } from './SuccessView' import { Delegate as DelegateIcon } from '../../svg-icons' +import { urls } from '../../context/main' export const Delegate = () => { const [status, setStatus] = useState(EnumRequestStatus.initial) @@ -98,6 +99,13 @@ export const Delegate = () => { )} + + Checkout the{' '} + + list of mixnodes + {' '} + for uptime and performances to help make delegation decisions + ) } diff --git a/nym-wallet/src/pages/settings/node-stats.tsx b/nym-wallet/src/pages/settings/node-stats.tsx index 24d186ffef..99b8a9d8a3 100644 --- a/nym-wallet/src/pages/settings/node-stats.tsx +++ b/nym-wallet/src/pages/settings/node-stats.tsx @@ -2,7 +2,6 @@ import { OpenInNew } from '@mui/icons-material' import { Button, Link, Stack, Typography } from '@mui/material' import React, { useEffect } from 'react' import { urls } from '../../context/main' -import { useCheckOwnership } from '../../hooks/useCheckOwnership' export const NodeStats = ({ mixnodeId }: { mixnodeId?: string }) => { return (