fix bug dashboard bugs & handle request update data in user profile & change design button in home page
This commit is contained in:
@@ -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]">
|
||||
|
||||
Reference in New Issue
Block a user