diff --git a/src/pages/buy-sell/screens/BuySell/BuySell.scss b/src/pages/buy-sell/screens/BuySell/BuySell.scss index a5c7410a..59fcd8b2 100644 --- a/src/pages/buy-sell/screens/BuySell/BuySell.scss +++ b/src/pages/buy-sell/screens/BuySell/BuySell.scss @@ -1,5 +1,10 @@ .buy-sell { height: 100%; + + &--not-verified { + overflow-y: auto; + height: calc(100% - 11rem); + } & .buy-sell-table { & .table { @include mobile-or-tablet-screen { diff --git a/src/pages/buy-sell/screens/BuySell/BuySell.tsx b/src/pages/buy-sell/screens/BuySell/BuySell.tsx index 23ae112b..35cb0b92 100644 --- a/src/pages/buy-sell/screens/BuySell/BuySell.tsx +++ b/src/pages/buy-sell/screens/BuySell/BuySell.tsx @@ -16,14 +16,14 @@ const BuySell = () => { if (poiPoaVerified === 'false') { return ( - <> +
history.replace({ pathname: BUY_SELL_URL, search: '' })} pageTitle={localize('Verification')} weight='bold' /> - +
); } diff --git a/src/pages/buy-sell/screens/BuySellTable/BuySellTableRenderer/BuySellTableRenderer.tsx b/src/pages/buy-sell/screens/BuySellTable/BuySellTableRenderer/BuySellTableRenderer.tsx index 976cfc05..a9a3964f 100644 --- a/src/pages/buy-sell/screens/BuySellTable/BuySellTableRenderer/BuySellTableRenderer.tsx +++ b/src/pages/buy-sell/screens/BuySellTable/BuySellTableRenderer/BuySellTableRenderer.tsx @@ -41,30 +41,32 @@ const BuySellTableRenderer = ({ if ((!data && !searchValue) || (data.length === 0 && !searchValue)) { return ( -
- history.push(MY_ADS_URL)} - size='lg' - textSize={isMobile ? 'md' : 'sm'} - > - - - } - description={ - - - - } - icon={} - title={ - - - - } - /> +
+
+ history.push(MY_ADS_URL)} + size='lg' + textSize={isMobile ? 'md' : 'sm'} + > + + + } + description={ + + + + } + icon={} + title={ + + + + } + /> +
); } 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) {