From 64854256d5dc78df53b9d411b946c015182bd53e Mon Sep 17 00:00:00 2001 From: Nada Date: Wed, 11 Sep 2024 11:02:25 +0400 Subject: [PATCH] fix: height issue for verificatio in myads, myprofile --- src/pages/my-ads/screens/MyAds/MyAds.tsx | 7 ++++++- src/pages/my-profile/screens/MyProfile/MyProfile.tsx | 6 +++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/src/pages/my-ads/screens/MyAds/MyAds.tsx b/src/pages/my-ads/screens/MyAds/MyAds.tsx index d7720417..d8e22eb2 100644 --- a/src/pages/my-ads/screens/MyAds/MyAds.tsx +++ b/src/pages/my-ads/screens/MyAds/MyAds.tsx @@ -7,7 +7,12 @@ const MyAds = () => { const { data } = usePoiPoaStatus(); const { isPoaVerified, isPoiVerified } = data || {}; - if (!isPoaVerified || !isPoiVerified) return ; + if (!isPoaVerified || !isPoiVerified) + return ( +
+ ; +
+ ); return (
diff --git a/src/pages/my-profile/screens/MyProfile/MyProfile.tsx b/src/pages/my-profile/screens/MyProfile/MyProfile.tsx index 649908d6..4aa9911e 100644 --- a/src/pages/my-profile/screens/MyProfile/MyProfile.tsx +++ b/src/pages/my-profile/screens/MyProfile/MyProfile.tsx @@ -50,7 +50,11 @@ const MyProfile = () => { } if (!isPoiVerified || !isPoaVerified) { - return ; + return ( +
+ +
+ ); } if (!isDesktop) {