diff --git a/app/my/page.js b/app/my/page.js index 650150e..d2cf46e 100644 --- a/app/my/page.js +++ b/app/my/page.js @@ -16,6 +16,7 @@ const My = () => { // setUserInfo(userInfo); getData(userInfo); } + console.log("userInfo", userInfo); // getData(userInfo); }, []); const getData = async (oldUserInfo) => { @@ -151,7 +152,27 @@ const My = () => { style={{ "--size": "76px", "--border-radius": "50%" }} />
{userInfo.name}
++ {userInfo.name} +
+ {userInfo?.is_a_member === 1 && ( +