diff --git a/public/icons/table/ReactTable4arrow-icon.svg b/public/icons/table/ReactTable4arrow-icon.svg index 589a9ba..e7378d5 100644 --- a/public/icons/table/ReactTable4arrow-icon.svg +++ b/public/icons/table/ReactTable4arrow-icon.svg @@ -1,6 +1,6 @@ - + diff --git a/public/icons/table/ReactTable4double-left-arrow copy.svg b/public/icons/table/ReactTable4double-left-arrow copy.svg index 03e2680..4e13fa1 100644 --- a/public/icons/table/ReactTable4double-left-arrow copy.svg +++ b/public/icons/table/ReactTable4double-left-arrow copy.svg @@ -1,11 +1,11 @@ - + - + diff --git a/public/icons/table/ReactTable4double-left-arrow.svg b/public/icons/table/ReactTable4double-left-arrow.svg index 03e2680..4e13fa1 100644 --- a/public/icons/table/ReactTable4double-left-arrow.svg +++ b/public/icons/table/ReactTable4double-left-arrow.svg @@ -1,11 +1,11 @@ - + - + diff --git a/public/icons/table/ReactTable4edit.svg b/public/icons/table/ReactTable4edit.svg index 85f109e..516dc4b 100644 --- a/public/icons/table/ReactTable4edit.svg +++ b/public/icons/table/ReactTable4edit.svg @@ -1,6 +1,6 @@ - - + + diff --git a/public/icons/table/ReactTable4filter.svg b/public/icons/table/ReactTable4filter.svg index 6b8c315..25ed414 100644 --- a/public/icons/table/ReactTable4filter.svg +++ b/public/icons/table/ReactTable4filter.svg @@ -1,3 +1,3 @@ - + diff --git a/public/icons/table/ReactTable4left-arrow.svg b/public/icons/table/ReactTable4left-arrow.svg index 3212c91..29cfa37 100644 --- a/public/icons/table/ReactTable4left-arrow.svg +++ b/public/icons/table/ReactTable4left-arrow.svg @@ -1,7 +1,7 @@ - + diff --git a/public/icons/table/ReactTable4right-arrow.svg b/public/icons/table/ReactTable4right-arrow.svg index 1cf09b1..f8a395a 100644 --- a/public/icons/table/ReactTable4right-arrow.svg +++ b/public/icons/table/ReactTable4right-arrow.svg @@ -1,6 +1,6 @@ - + diff --git a/public/icons/table/ReactTable4search-normal copy.svg b/public/icons/table/ReactTable4search-normal copy.svg index 49604d0..d745870 100644 --- a/public/icons/table/ReactTable4search-normal copy.svg +++ b/public/icons/table/ReactTable4search-normal copy.svg @@ -2,9 +2,9 @@ - + - + diff --git a/public/icons/table/ReactTable4search-normal.svg b/public/icons/table/ReactTable4search-normal.svg index 49604d0..d745870 100644 --- a/public/icons/table/ReactTable4search-normal.svg +++ b/public/icons/table/ReactTable4search-normal.svg @@ -2,9 +2,9 @@ - + - + diff --git a/public/icons/table/ReactTable4settings.svg b/public/icons/table/ReactTable4settings.svg index fea3eb9..011e853 100644 --- a/public/icons/table/ReactTable4settings.svg +++ b/public/icons/table/ReactTable4settings.svg @@ -3,11 +3,11 @@ - + - + diff --git a/public/icons/table/ReactTable4zarbedar-icon copy.svg b/public/icons/table/ReactTable4zarbedar-icon copy.svg index 682f7a5..471ee5e 100644 --- a/public/icons/table/ReactTable4zarbedar-icon copy.svg +++ b/public/icons/table/ReactTable4zarbedar-icon copy.svg @@ -1,6 +1,6 @@ - - + + diff --git a/public/icons/table/ReactTable4zarbedar-icon.svg b/public/icons/table/ReactTable4zarbedar-icon.svg index 682f7a5..471ee5e 100644 --- a/public/icons/table/ReactTable4zarbedar-icon.svg +++ b/public/icons/table/ReactTable4zarbedar-icon.svg @@ -1,6 +1,6 @@ - - + + diff --git a/public/icons/table/ReactTable5zarbedar-icon.svg b/public/icons/table/ReactTable5zarbedar-icon.svg index 682f7a5..471ee5e 100644 --- a/public/icons/table/ReactTable5zarbedar-icon.svg +++ b/public/icons/table/ReactTable5zarbedar-icon.svg @@ -1,6 +1,6 @@ - - + + diff --git a/src/App.js b/src/App.js index a27a216..27afeec 100644 --- a/src/App.js +++ b/src/App.js @@ -629,10 +629,14 @@ let data = [ function App() { let location = window.location.pathname; + const [dontShowNav,setDontShowNav]=useState(false); + useEffect(()=>{ + location = window.location.pathname; + }) // const {id} = useParams(); console.log(location); let buyPackagesData = null; - if (location.includes("buy-packages")) { + if (location?.includes("buy-packages")) { let pathList = location.split("/"); let id = pathList[pathList.length - 1]; for (let i = 0; i < data.length; i++) { @@ -644,8 +648,6 @@ function App() { } let loginStorage = localStorage.getItem("userData"); let userData = JSON.parse(loginStorage); - console.log(loginStorage == null); - console.log(userData); const [LOGIN, setLOGIN] = useState(loginStorage == undefined ? false : true); const activeLogin = () => { setLOGIN(true); @@ -669,7 +671,6 @@ function App() { const [ActiveUserFullInfo, setActiveUserFullInfo] = useState(false); const [UserFullInfoData, setUserFullInfoData] = useState(buyPackagesData); const showUserFullInfo = (data) => { - console.log(data); setActiveUserFullInfo(true); setUserFullInfoData(data); }; @@ -686,10 +687,8 @@ function App() {
- {LOGIN && location?.split("/")[3] !== "exam" && ( -
- )} - {LOGIN && location?.split("/")[3] !== "exam" &&