make until error types accurate

This commit is contained in:
Samuel Newman
2026-08-28 14:07:28 +01:00
parent 7de7c2cb72
commit b86c7b6782
15 changed files with 92 additions and 45 deletions
@@ -31,7 +31,8 @@ export function useVerificationCreateMutation() {
await until(
5,
1e3,
(profile: app.bsky.actor.getProfile.$OutputBody) => {
profile => {
if (!profile) return false
if (
profile.verification &&
profile.verification.verifications.find(v => v.uri === uri)