diff --git a/src/components/AppSidebarNav.js b/src/components/AppSidebarNav.js
index 9e16944..3841783 100644
--- a/src/components/AppSidebarNav.js
+++ b/src/components/AppSidebarNav.js
@@ -64,7 +64,6 @@ export const AppSidebarNav = ({ items }) => {
{items &&
items.map((item, index) =>
-
(item.items ? navGroup(item, index) : navItem(item, index)))}
)
diff --git a/src/index.js b/src/index.js
index 9318502..48b155f 100644
--- a/src/index.js
+++ b/src/index.js
@@ -12,7 +12,7 @@ import axios from 'axios'
const setupAxios = () => {
axios.defaults.baseURL = 'https://cmp-all-api.herokuapp.com/'
- // axios.defaults.baseURL = 'http://localhost:5000'
+ //axios.defaults.baseURL = 'http://localhost:5000'
axios.defaults.headers = {
'Cache-Control': 'no-cache,no-store',
'Pragma': 'no-cache',
diff --git a/src/views/Events/AllRegisterUser.js b/src/views/Events/AllRegisterUser.js
index 0dc0f91..38bab08 100644
--- a/src/views/Events/AllRegisterUser.js
+++ b/src/views/Events/AllRegisterUser.js
@@ -29,7 +29,7 @@ const AllRegisterUser = () => {
useEffect(() => {
getRegisterUser();
}, [getRegisterUser]);
- console.log(registerUser)
+ // console.log(registerUser)
//change time formate
function formatAMPM(date) {
var hours = new Date(date).getHours();
diff --git a/src/views/Profile/EditProfile.js b/src/views/Profile/EditProfile.js
index 520c35d..c874f01 100644
--- a/src/views/Profile/EditProfile.js
+++ b/src/views/Profile/EditProfile.js
@@ -117,7 +117,7 @@ const EditProfile = () => {
}
}
const handleCancle = () => {
- history.goBack()
+ history.push('/dashboard')
}
return (
@@ -143,7 +143,7 @@ const EditProfile = () => {
Phone *
-
+