clean
This commit is contained in:
parent
45a960bce3
commit
b2117bb0e4
|
|
@ -1,11 +1,8 @@
|
|||
import React, { lazy, Suspense } from "react";
|
||||
|
||||
import { usePageTitleState } from "../../zustand/PageTitleState";
|
||||
import { MdOutlineArrowForwardIos } from "react-icons/md";
|
||||
import { useLocation, useNavigate } from "react-router-dom";
|
||||
import { getPrevPathRoute } from "../../utils/getPrevPathRoute";
|
||||
import { deletePathSegments } from "../../utils/deletePathSegments";
|
||||
import SpinContainer from "../../Components/Layout/SpinContainer";
|
||||
import NavBarRightSide from "../../Components/Layout/Navbar/NavBarRightSide";
|
||||
import SearchFieldWithSelect from "../../Components/DataTable/SearchFieldWithSelect";
|
||||
import { search_array } from "../../Routes";
|
||||
|
|
@ -16,7 +13,6 @@ import { useTranslation } from "react-i18next";
|
|||
const ChangePasswordModel = lazy(() => import("./model/AddModel"));
|
||||
|
||||
const NavBar = ({ isOpen }: { isOpen: boolean }) => {
|
||||
const { PageTitle } = usePageTitleState((state) => state);
|
||||
const location = useLocation();
|
||||
const navigate = useNavigate();
|
||||
const PrevPath = getPrevPathRoute(location.pathname);
|
||||
|
|
@ -33,9 +29,6 @@ const NavBar = ({ isOpen }: { isOpen: boolean }) => {
|
|||
return (
|
||||
<div className="NavBar">
|
||||
<Suspense fallback={<></>}>
|
||||
{/* <span className="navbar_link" onClick={handelNavigate}>
|
||||
<MdOutlineArrowForwardIos /> {PageTitle}
|
||||
</span> */}
|
||||
<div className="header_search">
|
||||
<SearchFieldWithSelect
|
||||
options={translateArray}
|
||||
|
|
|
|||
|
|
@ -18,7 +18,6 @@ const App: React.FC = () => {
|
|||
...filterState,
|
||||
city_id,
|
||||
name,
|
||||
|
||||
sort_by
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -56,7 +56,6 @@ export const useColumns = () => {
|
|||
ellipsis:true
|
||||
},
|
||||
{
|
||||
|
||||
title: t("columns.procedure"),
|
||||
key: "actions",
|
||||
align: "center",
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user