Align types

This commit is contained in:
Eric Bailey
2025-02-05 11:30:36 -06:00
parent 58f1e87457
commit 2269acde59
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -31,7 +31,7 @@ export let MessagesListHeader = ({
profile, profile,
moderation, moderation,
}: { }: {
profile?: Shadow<AppBskyActorDefs.ProfileViewBasic> profile?: Shadow<AppBskyActorDefs.ProfileViewDetailed>
moderation?: ModerationDecision moderation?: ModerationDecision
}): React.ReactNode => { }): React.ReactNode => {
const t = useTheme() const t = useTheme()
@@ -138,7 +138,7 @@ function HeaderReady({
moderation, moderation,
blockInfo, blockInfo,
}: { }: {
profile: Shadow<AppBskyActorDefs.ProfileViewBasic> profile: Shadow<AppBskyActorDefs.ProfileViewDetailed>
moderation: ModerationDecision moderation: ModerationDecision
blockInfo: { blockInfo: {
listBlocks: ModerationCause[] listBlocks: ModerationCause[]
+1 -1
View File
@@ -165,7 +165,7 @@ function InnerReady({
setHasScrolled, setHasScrolled,
}: { }: {
moderation: ModerationDecision moderation: ModerationDecision
recipient: Shadow<AppBskyActorDefs.ProfileViewBasic> recipient: Shadow<AppBskyActorDefs.ProfileViewDetailed>
hasScrolled: boolean hasScrolled: boolean
setHasScrolled: React.Dispatch<React.SetStateAction<boolean>> setHasScrolled: React.Dispatch<React.SetStateAction<boolean>>
}) { }) {