minor fix: fix default for status of TidbAuthBinding in compatible with various versions (#22288)

This commit is contained in:
NeatGuyCoding 2025-08-01 14:51:16 +08:00 • committed by GitHub
commit 759ded3e3a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 28 additions and 11 deletions

View file

@ -190,7 +190,6 @@ export const Workflow: FC<WorkflowProps> = memo(({
return () => {
handleSyncWorkflowDraft(true, true)
}
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [])
const { handleRefreshWorkflowDraft } = useWorkflowRefreshDraft()
@ -282,7 +281,6 @@ export const Workflow: FC<WorkflowProps> = memo(({
const { fetchInspectVars } = useSetWorkflowVarsWithValue()
useEffect(() => {
fetchInspectVars()
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [])
const store = useStoreApi()