more typecheck

This commit is contained in:
Hailey
2024-06-07 01:15:47 -07:00
parent ce662afe15
commit 4ce7298d03
2 changed files with 7 additions and 4 deletions
+2
View File
@@ -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
+5 -4
View File
@@ -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>
) )