Use correct type for update profile mutation

This commit is contained in:
Eric Bailey
2025-01-02 14:55:41 -06:00
parent 8f62efcb61
commit 069609e7f3
+1 -1
View File
@@ -113,7 +113,7 @@ export function usePrefetchProfileQuery() {
} }
interface ProfileUpdateParams { interface ProfileUpdateParams {
profile: AppBskyActorDefs.ProfileView profile: AppBskyActorDefs.ProfileViewDetailed
updates: updates:
| AppBskyActorProfile.Record | AppBskyActorProfile.Record
| ((existing: AppBskyActorProfile.Record) => AppBskyActorProfile.Record) | ((existing: AppBskyActorProfile.Record) => AppBskyActorProfile.Record)