From 8b0539d613e010e6176e3cfab78f7f6103c1b154 Mon Sep 17 00:00:00 2001 From: arnaud Date: Tue, 31 Oct 2023 15:45:50 +0100 Subject: [PATCH] refactor(useMikadoGraph): remove router usage --- app/mikado-graph/mikado-graph.usecase.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/mikado-graph/mikado-graph.usecase.tsx b/app/mikado-graph/mikado-graph.usecase.tsx index d22a1e3..b8213dd 100644 --- a/app/mikado-graph/mikado-graph.usecase.tsx +++ b/app/mikado-graph/mikado-graph.usecase.tsx @@ -63,8 +63,7 @@ export type MikadoGraph = { }; export default function useMikadoGraph(defaultMikadoGraphView: MikadoGraphView) { - const { mikadoGraphApi, useRouter, useNotification } = useServiceContainer(); - const router = useRouter(); + const { mikadoGraphApi, useNotification } = useServiceContainer(); const notifier = useNotification(); const { translation } = useIntl();