refactor: improve alert error context and copy action
This commit is contained in:
@@ -72,7 +72,7 @@ public final class NewProfileViewModel: BaseViewModel {
|
||||
do {
|
||||
createdProfile = try await createProfileBackground()
|
||||
} catch {
|
||||
alert = AlertState(error: error)
|
||||
alert = AlertState(action: "create profile", error: error)
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user