refactor: spilt context for better hmr (#33033)

This commit is contained in:
Stephen Zhou
2026-03-05 15:54:56 +08:00
committed by GitHub
parent f3c840a60e
commit f487b680f5
191 changed files with 645 additions and 615 deletions

View File

@ -28,7 +28,8 @@ import {
import * as React from 'react'
import { GeneratorType } from '@/app/components/app/configuration/config/automatic/types'
import { VarType } from '@/app/components/workflow/types'
import { EventEmitterContextProvider, useEventEmitterContextContext } from '@/context/event-emitter'
import { useEventEmitterContextContext } from '@/context/event-emitter'
import { EventEmitterContextProvider } from '@/context/event-emitter-provider'
import { INSERT_CONTEXT_BLOCK_COMMAND } from '../../context-block'
import { INSERT_CURRENT_BLOCK_COMMAND } from '../../current-block'
import { INSERT_ERROR_MESSAGE_BLOCK_COMMAND } from '../../error-message-block'