mirror of
https://github.com/usual2970/certimate.git
synced 2025-06-22 04:09:58 +00:00
fix error type
This commit is contained in:
parent
f9568f1a4a
commit
332c5c5127
@ -4,7 +4,7 @@ import { DeployConfig } from "@/domain/domain";
|
|||||||
|
|
||||||
type DeployEditContext = {
|
type DeployEditContext = {
|
||||||
deploy: DeployConfig;
|
deploy: DeployConfig;
|
||||||
error: Record<string, string>;
|
error: Record<string, string | undefined>;
|
||||||
setDeploy: (deploy: DeployConfig) => void;
|
setDeploy: (deploy: DeployConfig) => void;
|
||||||
setError: (error: Record<string, string | undefined>) => void;
|
setError: (error: Record<string, string | undefined>) => void;
|
||||||
};
|
};
|
||||||
|
@ -44,7 +44,7 @@ const DeployEditDialog = ({ trigger, deployConfig, onSave }: DeployEditDialogPro
|
|||||||
type: "",
|
type: "",
|
||||||
});
|
});
|
||||||
|
|
||||||
const [error, setError] = useState<Record<string, string>>({});
|
const [error, setError] = useState<Record<string, string | undefined>>({});
|
||||||
|
|
||||||
const [open, setOpen] = useState(false);
|
const [open, setOpen] = useState(false);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user