-
- Error:
-
- {error()}
+ Error: {error()}
-
-
-
-
-
+
+
+
+
-
-
-
-
- Nombres y Apellidos
-
-
-
-
-
- Apellidos y Nombres
-
-
-
-
+
+
+
- Apellidos
+ Nombres y Apellidos
-
+
+
- Nombres
+ Apellidos y Nombres
+
+
+
+
+
+ Apellidos
+
+
+
+
+ Nombres
+
+
-
+
+ {/*
- {/*
- */}
+ */}
);
@@ -179,24 +166,7 @@ function InputBox(props: {
dni: string,
setDni: (v: string) => void,
}) {
- const inputElement = (
-
props.setDni(e.target.value)}
- disabled={props.loading}
- />
- );
+ let inputElement: HTMLInputElement | undefined;
const copyToClipboard: HTMLButtonEvent = (ev) => {
ev.preventDefault();
@@ -215,13 +185,26 @@ function InputBox(props: {
return (
- {inputElement}
-
-
+
props.setDni(e.target.value)}
+ disabled={props.loading}
+ />
+
+
+