From 13616ed99208bdd276fa95bcc37fbcf91f43d585 Mon Sep 17 00:00:00 2001 From: Yana Date: Mon, 6 Jan 2025 18:59:53 +0200 Subject: [PATCH] Add tx to Success Info Modal --- explorer-nextjs/src/components/modal/InfoModal.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/explorer-nextjs/src/components/modal/InfoModal.tsx b/explorer-nextjs/src/components/modal/InfoModal.tsx index 43cb60b295..c578e76bd6 100644 --- a/explorer-nextjs/src/components/modal/InfoModal.tsx +++ b/explorer-nextjs/src/components/modal/InfoModal.tsx @@ -22,6 +22,7 @@ const InfoModal = (props: InfoModalProps) => { } const { open, onClose, title, message, tx, Action } = props; + const mintscanURL = tx ? `https://www.mintscan.io/nyx/tx/${tx}` : "/"; return ( { {title} {message} {tx && ( - + Block explorer link )}