rm a wrapper
This commit is contained in:
@@ -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>
|
|
||||||
</>
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user