rm a wrapper

This commit is contained in:
Hailey
2024-06-04 21:47:50 -07:00
parent f8db977ad4
commit d6c9da78a0
@@ -1,10 +1,9 @@
import React from 'react' import React from 'react'
import {ListRenderItemInfo, View} from 'react-native' import {ListRenderItemInfo} from 'react-native'
import {AppBskyActorDefs} from '@atproto/api' import {AppBskyActorDefs} from '@atproto/api'
import {List} from 'view/com/util/List' import {List} from 'view/com/util/List'
import {useWizardState} from '#/screens/StarterPack/Wizard/State' import {useWizardState} from '#/screens/StarterPack/Wizard/State'
import {atoms as a} from '#/alf'
import {WizardListEmpty} from '#/components/StarterPack/Wizard/WizardListEmpty' import {WizardListEmpty} from '#/components/StarterPack/Wizard/WizardListEmpty'
import {WizardProfileCard} from '#/components/StarterPack/Wizard/WizardProfileCard' import {WizardProfileCard} from '#/components/StarterPack/Wizard/WizardProfileCard'
@@ -24,15 +23,11 @@ export function StepProfiles() {
} }
return ( return (
<> <List
<View style={[a.flex_1]}> data={state.profiles}
<List renderItem={renderItem}
data={state.profiles} keyExtractor={keyExtractor}
renderItem={renderItem} ListEmptyComponent={<WizardListEmpty type="profiles" />}
keyExtractor={keyExtractor} />
ListEmptyComponent={<WizardListEmpty type="profiles" />}
/>
</View>
</>
) )
} }