mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-01-22 21:48:12 -05:00
dont provide a null provider
This commit is contained in:
@@ -206,7 +206,7 @@ export default function CredentialsProvider({
|
||||
|
||||
useEffect(() => {
|
||||
if (!isLoggedIn) {
|
||||
if (isLoggedIn == false) setProviders(null);
|
||||
if (isLoggedIn == false) setProviders({});
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user