fix the broken link

This commit is contained in:
benedettadavico
2025-06-26 12:44:47 +02:00
parent 447352b8d6
commit 658dec8299
@@ -4,12 +4,12 @@ import { TauriLink as Link } from 'src/components/TauriLinkWrapper';
import { urls, AppContext } from '../../context/main';
export const NodeStats = ({ mixnodeId }: { mixnodeId?: string }) => {
export const NodeStats = ({ identityKey }: { identityKey?: string }) => {
const { network } = useContext(AppContext);
return (
<Stack spacing={2} sx={{ p: 4 }}>
<Typography>All your node stats are available on the link below</Typography>
<Link href={`${urls(network).networkExplorer}/nodes/${mixnodeId}`} target="_blank" text="Network Explorer" />
<Link href={`${urls(network).networkExplorer}/nodes/${identityKey}`} target="_blank" text="Network Explorer" />
</Stack>
);
};