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}) => (
<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
+5 -4
View File
@@ -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>
)