more typecheck
This commit is contained in:
@@ -67,6 +67,7 @@ export function StarterPackScreen({
|
||||
? ({headerHeight, scrollElRef}) => (
|
||||
<ProfilesList
|
||||
key={0}
|
||||
// @ts-expect-error TODO
|
||||
listUri={starterPack.list.uri}
|
||||
headerHeight={headerHeight}
|
||||
// @ts-expect-error
|
||||
@@ -78,6 +79,7 @@ export function StarterPackScreen({
|
||||
? ({headerHeight, scrollElRef}) => (
|
||||
<FeedsList
|
||||
key={1}
|
||||
// @ts-expect-error TODO
|
||||
feeds={starterPack.feeds}
|
||||
headerHeight={headerHeight}
|
||||
// @ts-expect-error
|
||||
|
||||
@@ -52,7 +52,6 @@ import {PreviewableUserAvatar, UserAvatar} from '../util/UserAvatar'
|
||||
|
||||
import hairlineWidth = StyleSheet.hairlineWidth
|
||||
import {StarterPackIcon} from '#/components/icons/StarterPackIcon'
|
||||
import {StarterPackCard} from '#/components/StarterPack/StarterPackCard'
|
||||
|
||||
const MAX_AUTHORS = 5
|
||||
|
||||
@@ -305,9 +304,11 @@ let FeedItem = ({
|
||||
showLikes
|
||||
/>
|
||||
) : null}
|
||||
{item.type === 'starter-pack-signup' ? (
|
||||
<StarterPackCard type="notification" />
|
||||
) : null}
|
||||
{item.type === 'starter-pack-signup'
|
||||
? // TODO
|
||||
null
|
||||
: // <StarterPackCard type="notification" starterPack={sta} />
|
||||
null}
|
||||
</View>
|
||||
</Link>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user