Skip to content

Commit

Permalink
fix global location usage
Browse files Browse the repository at this point in the history
  • Loading branch information
andreymikhadyuk committed Oct 9, 2023
1 parent 14cabad commit 6cf3aa3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const CommonCreation: FC = () => {
const history = useHistory();
const { canGoBack, goBack } = useGoBack();
const isV04Version = matchRoute(
location.pathname,
history.location.pathname,
ROUTE_PATHS.V04_COMMON_CREATION,
{ exact: true },
);
Expand Down

0 comments on commit 6cf3aa3

Please sign in to comment.