🔖 chore(pyproject.toml): bump version to 0.1.7 (#528)

This commit is contained in:
Gabriel Luiz Freitas Almeida 2023-06-21 19:19:20 +00:00 • committed by GitHub
commit 100833f40f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 42 additions and 43 deletions

View file

@ -1,6 +1,6 @@
[tool.poetry] [tool.poetry]
name = "langflow" name = "langflow"
version = "0.1.6" version = "0.1.7"
description = "A Python package with a built-in web application" description = "A Python package with a built-in web application"
authors = ["Logspace <contact@logspace.ai>"] authors = ["Logspace <contact@logspace.ai>"]
maintainers = [ maintainers = [

View file

@ -22,7 +22,9 @@ const GITHUB_API_URL = "https://api.github.com";
export async function getRepoStars(owner, repo) { export async function getRepoStars(owner, repo) {
try { try {
const response = await axios.get(`${GITHUB_API_URL}/repos/${owner}/${repo}`); const response = await axios.get(
`${GITHUB_API_URL}/repos/${owner}/${repo}`
);
return response.data.stargazers_count; return response.data.stargazers_count;
} catch (error) { } catch (error) {
console.error("Error fetching repository data:", error); console.error("Error fetching repository data:", error);

View file

@ -14,10 +14,7 @@ export default function ChatInput({
if (!lockChat && inputRef.current) { if (!lockChat && inputRef.current) {
inputRef.current.focus(); inputRef.current.focus();
} }
},[ }, [lockChat, inputRef]);
lockChat,inputRef
])
useEffect(() => { useEffect(() => {
if (inputRef.current) { if (inputRef.current) {