Skip to content

Commit

Permalink
refactor(Navigation): use react-router-dom dependency
Browse files Browse the repository at this point in the history
- replace `react-router` with `react-router-dom`
  • Loading branch information
SimonGolms committed Jan 11, 2023
1 parent 30f4ee2 commit 53cb845
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/useSearchParams.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useCallback, useMemo } from "react";
import { useHistory, useLocation } from "react-router";
import { useHistory, useLocation } from "react-router-dom";

export const useSearchParams = () => {
const { search } = useLocation();
Expand Down

0 comments on commit 53cb845

Please sign in to comment.