fix: auth post (#626)

Co-authored-by: Igor Loskutov <igor.loskutoff@gmail.com>
This commit is contained in:
Igor Monadical
2025-09-09 16:27:46 -04:00
committed by GitHub
parent cde99ca271
commit 3b85ff3bdf
2 changed files with 23 additions and 4 deletions

View File

@@ -88,6 +88,7 @@ export function AuthProvider({ children }: { children: React.ReactNode }) {
};
// not useEffect, we need it ASAP
// apparently, still no guarantee this code runs before mutations are fired
configureApiAuth(
contextValue.status === "authenticated" ? contextValue.accessToken : null,
);