From 1f4b32163cb0c3daf371b40973107274d4071446 Mon Sep 17 00:00:00 2001 From: Adrian Timpau Date: Tue, 2 Apr 2024 16:19:14 +0300 Subject: [PATCH] Update frontend/components/modal/ErrorModal.tsx Co-authored-by: Sebastian --- frontend/components/modal/ErrorModal.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/components/modal/ErrorModal.tsx b/frontend/components/modal/ErrorModal.tsx index 92df293f..fd78d94a 100644 --- a/frontend/components/modal/ErrorModal.tsx +++ b/frontend/components/modal/ErrorModal.tsx @@ -1,5 +1,6 @@ import { Button } from '@components/buttons/Button' import { ModalWrapper } from '@components/modal/ModalWrapper' +import { useRouter } from 'next/navigation' export function ErrorModal({ showModal }: { showModal: Function }) { return (