style: dashboard utilization
This commit is contained in:
@@ -19,14 +19,12 @@ type ParamsSettingsFormProps = {
|
||||
};
|
||||
|
||||
type ParamsSettingsProps = {
|
||||
onClose?: () => void;
|
||||
selectedModel?: string;
|
||||
params?: ParamsSettingsFormProps;
|
||||
setParams: (params: any) => void;
|
||||
};
|
||||
|
||||
const ParamsSettings: React.FC<ParamsSettingsProps> = ({
|
||||
onClose,
|
||||
selectedModel,
|
||||
setParams
|
||||
}) => {
|
||||
@@ -83,11 +81,6 @@ const ParamsSettings: React.FC<ParamsSettingsProps> = ({
|
||||
console.log('handleOnFinishFailed', errorInfo);
|
||||
};
|
||||
|
||||
const handleCancel = () => {
|
||||
form.resetFields();
|
||||
onClose?.();
|
||||
};
|
||||
|
||||
const handleValuesChange = (changedValues: any, allValues: any) => {
|
||||
setParams?.(allValues);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user