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