Use correct type for update profile mutation

This commit is contained in:
Eric Bailey
2025-01-02 14:55:41 -06:00
parent 1c956a2348
commit ae48fdfac4
+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)