mirror of
https://github.com/usual2970/certimate.git
synced 2025-06-18 18:29: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 = {
|
||||
deploy: DeployConfig;
|
||||
error: Record<string, string>;
|
||||
error: Record<string, string | undefined>;
|
||||
setDeploy: (deploy: DeployConfig) => void;
|
||||
setError: (error: Record<string, string | undefined>) => void;
|
||||
};
|
||||
|
@ -44,7 +44,7 @@ const DeployEditDialog = ({ trigger, deployConfig, onSave }: DeployEditDialogPro
|
||||
type: "",
|
||||
});
|
||||
|
||||
const [error, setError] = useState<Record<string, string>>({});
|
||||
const [error, setError] = useState<Record<string, string | undefined>>({});
|
||||
|
||||
const [open, setOpen] = useState(false);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user