diff --git a/src/v4/PublicApi/Pages/AmityMyCommunitiesSearchPage/AmityMyCommunitiesSearchPage.tsx b/src/v4/PublicApi/Pages/AmityMyCommunitiesSearchPage/AmityMyCommunitiesSearchPage.tsx index ac42b4df..ef4fd984 100644 --- a/src/v4/PublicApi/Pages/AmityMyCommunitiesSearchPage/AmityMyCommunitiesSearchPage.tsx +++ b/src/v4/PublicApi/Pages/AmityMyCommunitiesSearchPage/AmityMyCommunitiesSearchPage.tsx @@ -1,7 +1,7 @@ import React, { memo, useState } from 'react'; +import { View } from 'react-native'; import { useStyles } from './styles'; import AmityTopSearchBarComponent from '../../Components/AmityTopSearchBarComponent/AmityTopSearchBarComponent'; -import { SafeAreaView } from 'react-native-safe-area-context'; import { useAmityGlobalSearchViewModel } from '../../../hook'; import { TabName } from '../../../enum/enumTabName'; import AmityCommunitySearchResultComponent from '../../Components/AmityCommunitySearchResultComponent/AmityCommunitySearchResultComponent'; @@ -22,7 +22,7 @@ const AmityMyCommunitiesSearchPage = () => { if (isExcluded) return null; return ( - + { onNextPage={onNextMyCommunityPage} /> )} - + ); }; diff --git a/src/v4/PublicApi/Pages/AmitySocialGlobalSearchPage/AmitySocialGlobalSearchPage.tsx b/src/v4/PublicApi/Pages/AmitySocialGlobalSearchPage/AmitySocialGlobalSearchPage.tsx index 67de3af5..76a18297 100644 --- a/src/v4/PublicApi/Pages/AmitySocialGlobalSearchPage/AmitySocialGlobalSearchPage.tsx +++ b/src/v4/PublicApi/Pages/AmitySocialGlobalSearchPage/AmitySocialGlobalSearchPage.tsx @@ -1,7 +1,7 @@ import React, { memo, useState } from 'react'; +import { View } from 'react-native'; import { useStyles } from './styles'; import AmityTopSearchBarComponent from '../../Components/AmityTopSearchBarComponent/AmityTopSearchBarComponent'; -import { SafeAreaView } from 'react-native-safe-area-context'; import { useAmityGlobalSearchViewModel } from '../../../hook'; import { TabName } from '../../../enum/enumTabName'; import CustomTab from '../../../component/CustomTab'; @@ -21,7 +21,7 @@ const AmitySocialGlobalSearchPage = () => { const isCommunity = searchType === TabName.Communities; if (isExcluded) return null; return ( - + { onNextPage={onNextUserPage} /> )} - + ); }; diff --git a/src/v4/ila-26/PublicApi/pages/AmitySocialHomePage/AmitySocialHomePage.tsx b/src/v4/ila-26/PublicApi/pages/AmitySocialHomePage/AmitySocialHomePage.tsx index 80653573..c74c882c 100644 --- a/src/v4/ila-26/PublicApi/pages/AmitySocialHomePage/AmitySocialHomePage.tsx +++ b/src/v4/ila-26/PublicApi/pages/AmitySocialHomePage/AmitySocialHomePage.tsx @@ -106,7 +106,7 @@ const AmitySocialHomePage = () => { width: '100%', backgroundColor: theme.colors.background, }} - edges={['top', 'left', 'right']} + edges={['left', 'right']} >