From 3386966d39e48756353106e2f75762c38b054e46 Mon Sep 17 00:00:00 2001 From: harshil Sharma Date: Fri, 20 Oct 2023 18:00:21 +0530 Subject: [PATCH] WIP --- .../team_selector_list/team_selector_list.tsx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/app/screens/convert_gm_to_channel/team_selector_list/team_selector_list.tsx b/app/screens/convert_gm_to_channel/team_selector_list/team_selector_list.tsx index 38411cab5..51478fe30 100644 --- a/app/screens/convert_gm_to_channel/team_selector_list/team_selector_list.tsx +++ b/app/screens/convert_gm_to_channel/team_selector_list/team_selector_list.tsx @@ -2,8 +2,9 @@ // See LICENSE.txt for license information. import React, {useMemo} from 'react'; -import {Text, View} from 'react-native'; +import {View} from 'react-native'; +import TeamList from '@app/components/team_list'; import {useTheme} from '@app/context/theme'; import {changeOpacity, getKeyboardAppearanceFromTheme, makeStyleSheetFromTheme} from '@app/utils/theme'; import SearchBar from '@components/search'; @@ -13,7 +14,7 @@ const getStyleSheet = makeStyleSheetFromTheme((theme: Theme) => ({ padding: 12, }, listContainer: { - + marginTop: 12, }, })); @@ -40,11 +41,10 @@ const TeamSelectorList = ({teams, selectTeam}: Props) => { onChangeText={selectTeam} /> - { - teams.map((team) => ( - {team.name} - )) - } + ''} + /> );