Wait for thunk errors

This commit is contained in:
Jon Staab
2025-09-05 17:32:01 -07:00
committed by hodlbod
parent 7217d122b5
commit 998c48b1d3
5 changed files with 14 additions and 11 deletions
+2 -2
View File
@@ -65,7 +65,7 @@ import {
dropSession,
tagEventForComment,
tagEventForQuote,
getThunkError,
waitForThunkError,
} from "@welshman/app"
import type {SettingsValues} from "@app/core/state"
import {
@@ -249,7 +249,7 @@ export const checkRelayAccess = async (url: string, claim = "") => {
await attemptAuth(url)
const thunk = publishJoinRequest({url, claim})
const error = await getThunkError(thunk)
const error = await waitForThunkError(thunk)
if (error) {
const message =