@@ -51,7 +51,6 @@ const Placeholder = () => {
return <div className={"flex justify-center"}>{/*<Loading/>*/}</div>;
};
const Layout: FC<PropsWithChildren<Props>> = async (props) => {
- console.log(`🚀🚀🚀🚀🚀-> in layout.tsx on 54 布局组件加载。。。`);
const {
children,
swiperWidget,
@@ -38,7 +38,11 @@ const Profile = () => {
return (
<div className="profile-box">
- <ProfileHeader userInfo={userInfo.data} userMoney={userMoney.data} userVip={userVip} />
+ <ProfileHeader
+ userInfo={userInfo?.data}
+ userMoney={userMoney?.data}
+ userVip={userVip}
+ />
<ItemCom />
<ModalCom />
</div>