This commit is contained in:
Ebube
2023-06-03 17:07:34 +01:00
parent 1895b47b76
commit 024c8bbed1
2 changed files with 28 additions and 15 deletions
+1 -1
View File
@@ -100,7 +100,7 @@ export default function Header({ logoutModalHandler, sidebarHandler }) {
// User Profile
let { firstname, lastname, email, profile_pic } = userDetails;
let userEmail = email.split("@")[0];
let userEmail = email?.split("@")[0];
return (
<>