diff --git a/apps/web/src/app/_components/candidate/candidate-action.tsx b/apps/web/src/app/_components/candidate/candidate-action.tsx index 15236759..e5c9c834 100644 --- a/apps/web/src/app/_components/candidate/candidate-action.tsx +++ b/apps/web/src/app/_components/candidate/candidate-action.tsx @@ -28,7 +28,7 @@ interface IProps { dialogOpen: boolean; openSetter: React.Dispatch>; name: string; - id: string; + id: number; } export function EditCandidate(props: IProps) { @@ -80,6 +80,7 @@ export function EditCandidate(props: IProps) { return; } + // eslint-disable-next-line @typescript-eslint/no-non-null-assertion const file = values.image.item(0)!; const image = await toBase64(file); @@ -170,6 +171,7 @@ export function EditCandidate(props: IProps) {