fix: edit worker pool miss data
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user