From 8f62efcb61d6ad52a271829f20ee40ecef161f7c Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Thu, 2 Jan 2025 14:54:25 -0600 Subject: [PATCH] Omit type from constraint in profile queries where appropriate --- src/state/queries/profile.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/state/queries/profile.ts b/src/state/queries/profile.ts index 3835ff01e8..dc028485d6 100644 --- a/src/state/queries/profile.ts +++ b/src/state/queries/profile.ts @@ -220,7 +220,7 @@ export function useProfileUpdateMutation() { } export function useProfileFollowMutationQueue( - profile: Shadow, + profile: Shadow>, logContext: LogEvents['profile:follow']['logContext'] & LogEvents['profile:follow']['logContext'], ) { @@ -294,7 +294,7 @@ export function useProfileFollowMutationQueue( function useProfileFollowMutation( logContext: LogEvents['profile:follow']['logContext'], - profile: Shadow, + profile: Shadow>, ) { const {currentAccount} = useSession() const agent = useAgent() @@ -334,7 +334,7 @@ function useProfileUnfollowMutation( } export function useProfileMuteMutationQueue( - profile: Shadow, + profile: Shadow>, ) { const queryClient = useQueryClient() const did = profile.did @@ -409,7 +409,7 @@ function useProfileUnmuteMutation() { } export function useProfileBlockMutationQueue( - profile: Shadow, + profile: Shadow>, ) { const queryClient = useQueryClient() const did = profile.did