Merge branch 'login' of https://github.com/logspace-ai/langflow into login

This commit is contained in:
Cristhian Zanforlin Lousa 2023-08-28 17:56:28 -03:00
commit 7dcb534eb3
3 changed files with 2 additions and 2 deletions

View file

@ -6,7 +6,7 @@ from langchain.schema import Document
from langchain.vectorstores.base import VectorStore
from langchain.schema import BaseRetriever
from langchain.embeddings.base import Embeddings
import chromadb
import chromadb # type: ignore
class ChromaComponent(CustomComponent):

View file

@ -91,6 +91,7 @@ export function AuthProvider({ children }): React.ReactElement {
function logout() {
cookies.remove("access_token", { path: "/" });
cookies.remove("refresh_token", { path: "/" });
setIsAdmin(false);
setUserData(null);
setAccessToken(null);
setRefreshToken(null);

View file

@ -40,7 +40,6 @@ export default function CodeAreaModal({
if (dynamic && Object.keys(nodeClass!.template).length > 2) {
return;
}
if (!isTweakPage) processCode();
}, []);
function processNonDynamicField() {