diff --git a/Packages/Env/Sources/Env/CurrentAccount.swift b/Packages/Env/Sources/Env/CurrentAccount.swift index a1b14932..b0ec9aba 100644 --- a/Packages/Env/Sources/Env/CurrentAccount.swift +++ b/Packages/Env/Sources/Env/CurrentAccount.swift @@ -18,7 +18,7 @@ public class CurrentAccount: ObservableObject { public func setClient(client: Client) { self.client = client - + guard client.isAuth else { return } Task(priority: .userInitiated) { await fetchUserData() }