refactor(web): replace CRA with Vite
This commit is contained in:
@@ -17,8 +17,9 @@ import FlowSubstepTitle from 'components/FlowSubstepTitle';
|
||||
import { StepPropType, SubstepPropType } from 'propTypes/propTypes';
|
||||
import useTriggers from 'hooks/useTriggers';
|
||||
import useActions from 'hooks/useActions';
|
||||
import appConfig from 'config/app.js';
|
||||
|
||||
const useNewFlowEditor = process.env.REACT_APP_USE_NEW_FLOW_EDITOR === 'true';
|
||||
const useNewFlowEditor = appConfig.useNewFlowEditor;
|
||||
|
||||
const optionGenerator = (app) => ({
|
||||
label: app.name,
|
||||
|
||||
Reference in New Issue
Block a user