fix: edit worker pool miss data

This commit is contained in:
jialin
2025-12-18 14:06:32 +08:00
parent 3a73d0c1b2
commit e6c12d81ea
4 changed files with 37 additions and 22 deletions
@@ -2,10 +2,12 @@ import { createContext, useContext } from 'react';
export interface StepsContextProps {
formValues: Record<string, any>;
systemConfig?: Record<string, any>;
}
export const StepsContext = createContext<StepsContextProps>({
formValues: {}
formValues: {},
systemConfig: {}
});
export const useStepsContext = () => useContext(StepsContext);