Fixed vehicle and owner pages with transition prevention. BOD-127
This commit is contained in:
@@ -5,7 +5,6 @@ import React, { useState } from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { Link, useHistory, useLocation } from "react-router-dom";
|
||||
import PhoneFormatter from "../../utils/PhoneFormatter";
|
||||
import { alphaSort } from "../../utils/sorters";
|
||||
|
||||
export default function OwnersListComponent({
|
||||
loading,
|
||||
@@ -14,7 +13,10 @@ export default function OwnersListComponent({
|
||||
refetch,
|
||||
}) {
|
||||
const search = queryString.parse(useLocation().search);
|
||||
const { page, sortcolumn, sortorder } = search;
|
||||
const {
|
||||
page,
|
||||
// sortcolumn, sortorder
|
||||
} = search;
|
||||
const history = useHistory();
|
||||
|
||||
const [state, setState] = useState({
|
||||
|
||||
Reference in New Issue
Block a user