Skip to content

Commit

Permalink
refactor(useMikadoGraph): remove router usage
Browse files Browse the repository at this point in the history
  • Loading branch information
arnolanglade committed Oct 31, 2023
1 parent 0c5a5ed commit 8b0539d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/mikado-graph/mikado-graph.usecase.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit 8b0539d

Please sign in to comment.