eleven-solutions-common-website-unique-web 10.0.1 → 10.0.3
Sign up to get free protection for your applications and to get access to all the features.
@@ -23,6 +23,7 @@ const Header = ({ toggleTheme, isDarkMode, userLogedin, userType, url, img, name
|
|
23
23
|
const [isOpen, setIsOpen] = useState(false);
|
24
24
|
const [usermodalopen, setusermodalopen] = useState(false);
|
25
25
|
const [showUserCard, setShowUserCard] = useState(false);
|
26
|
+
console.log(userType);
|
26
27
|
const handleNavigation = (event, path) => {
|
27
28
|
event.preventDefault();
|
28
29
|
window.history.pushState({}, "", path);
|
package/package.json
CHANGED
@@ -40,6 +40,8 @@ const Header = ({
|
|
40
40
|
const [usermodalopen, setusermodalopen] = useState(false);
|
41
41
|
const [showUserCard, setShowUserCard] = useState(false);
|
42
42
|
|
43
|
+
console.log(userType);
|
44
|
+
|
43
45
|
const handleNavigation = (event, path) => {
|
44
46
|
event.preventDefault();
|
45
47
|
window.history.pushState({}, "", path);
|