Fix types in ListCard

This commit is contained in:
Eric Bailey
2025-01-08 09:05:55 -06:00
parent f6488dd2f7
commit e7b17b59dc
+2 -2
View File
@@ -1,7 +1,6 @@
import React from 'react' import React from 'react'
import {View} from 'react-native' import {View} from 'react-native'
import { import {
AppBskyActorDefs,
AppBskyGraphDefs, AppBskyGraphDefs,
AtUri, AtUri,
moderateUserList, moderateUserList,
@@ -26,6 +25,7 @@ import {
import {Link as InternalLink, LinkProps} from '#/components/Link' import {Link as InternalLink, LinkProps} from '#/components/Link'
import * as Hider from '#/components/moderation/Hider' import * as Hider from '#/components/moderation/Hider'
import {Text} from '#/components/Typography' import {Text} from '#/components/Typography'
import * as atp from '#/types/atproto'
/* /*
* This component is based on `FeedCard` and is tightly coupled with that * This component is based on `FeedCard` and is tightly coupled with that
@@ -107,7 +107,7 @@ export function TitleAndByline({
modUi, modUi,
}: { }: {
title: string title: string
creator?: AppBskyActorDefs.ProfileViewBasic creator?: atp.profile.AnyProfileView
purpose?: AppBskyGraphDefs.ListView['purpose'] purpose?: AppBskyGraphDefs.ListView['purpose']
modUi?: ModerationUI modUi?: ModerationUI
}) { }) {