Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
fix: hook dependency (#4242)
TinsFox00ce372b71ad
diff --git a/web/app/signin/normalForm.tsx b/web/app/signin/normalForm.tsxindex bb213c25ffc..aba658b3ce2 100644--- a/web/app/signin/normalForm.tsx+++ b/web/app/signin/normalForm.tsx@@ -5,13 +5,11 @@ import { useRouter } from 'next/navigation'import classNames from 'classnames'import useSWR from 'swr'import Link from 'next/link'-import { useContext } from 'use-context-selector'import Toast from '../components/base/toast'import style from './page.module.css'import { IS_CE_EDITION, apiPrefix } from '@/config'import Button from '@/app/components/base/button'import { login, oauth } from '@/service/common'-import I18n from '@/context/i18n'import { getPurifyHref } from '@/utils'const validEmailReg = /^[\w\.-]+@([\w-]+\.)+[\w-]{2,}$/@@ -65,7 +63,6 @@ function reducer(state: IState, action: IAction) {const NormalForm = () => {const { t } = useTranslation()const router = useRouter()- const { locale } = useContext(I18n)const [state, dispatch] = useReducer(reducer, {formValid: false,@@ -96,7 +93,6 @@ const NormalForm = () => {remember_me: true,},})-if (res.result === 'success') {localStorage.setItem('console_token', res.data)router.replace('/apps')@@ -143,7 +139,7 @@ const NormalForm = () => {dispatch({ type: 'google_login_failed' })if (google)window.location.href = google.redirect_url- }, [google, google])+ }, [google, google_error])return (<>