Skip to content

Commit 540d37e

Browse files
author
e.biyik
committed
Merge branch 'main' of github.com:blueragesoftware/convex-swift
2 parents bdfe03e + fac8d36 commit 540d37e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/ConvexMobile/ConvexMobile.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ public protocol AuthProvider<T, LoginParams> {
189189
/// The generic parameter `T` matches the type of data returned by the ``AuthProvider`` upon successful
190190
/// authentication.
191191
public class ConvexClientWithAuth<T, LoginParams>: ConvexClient {
192-
private let authPublisher = CurrentValueSubject<AuthState<T>, Never>(AuthState.unauthenticated)
192+
private let authPublisher = CurrentValueSubject<AuthState<T>, Never>(AuthState.loading)
193193
private let authProvider: any AuthProvider<T, LoginParams>
194194

195195
/// A publisher that updates with the current ``AuthState`` of this client instance.

0 commit comments

Comments
 (0)