fix bug dashboard bugs & handle request update data in user profile & change design button in home page

This commit is contained in:
Ehsan
2025-06-13 22:12:58 +03:30
parent eea8737778
commit 891b0e8273
9 changed files with 23 additions and 24 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ import Image from "next/image";
function Head({ user }) {
const userInfo = Cookies.get("userInfo");
const parsedInfo = JSON.parse(userInfo);
const parsedInfo = userInfo && JSON.parse(userInfo);
return (
<div className="w-full flex flex-row md:flex-col items-center justify-center md:justify-start gap-[12px] md:gap-[4px]">