diff --git a/frontend/components/modal/ErrorModal.tsx b/frontend/components/modal/ErrorModal.tsx index 5d519308..2ca5b0b8 100644 --- a/frontend/components/modal/ErrorModal.tsx +++ b/frontend/components/modal/ErrorModal.tsx @@ -1,9 +1,7 @@ import { Button } from '@components/buttons/Button' import { ModalWrapper } from '@components/modal/ModalWrapper' -import { useRouter } from 'next/navigation' export function ErrorModal({ showModal }: { showModal: Function }) { - const router = useRouter() return (
@@ -13,7 +11,14 @@ export function ErrorModal({ showModal }: { showModal: Function }) {

Solana is currently experiencing congestion and was unable to - include your transaction. Please try again in a few minutes + include at least one of your transactions. Please try again in a few + minutes. +

+
+

+ + You can see which transactions failed when you close this popup. +

@@ -21,23 +26,9 @@ export function ErrorModal({ showModal }: { showModal: Function }) { type={'primary'} onClick={() => { showModal(false) - router.back() }} > - - Try again - - - - + Close