fix(vite): silence proxy ECONNRESET and fix react fast refresh export

This commit is contained in:
Carlos Tello
2026-10-29 22:40:54 -03:00
parent 3536c46917
commit 321ef0302e
2 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ export interface LaneTab {
es_acceso_peatonal?: boolean;
}
export const normalizarDniInput = (docRaw: string): { documento: string; sexo?: string } => {
const normalizarDniInput = (docRaw: string): { documento: string; sexo?: string } => {
if (!docRaw) return { documento: '' };
const clean = docRaw.trim().replace(/[\.,\s]/g, '');
const m = clean.match(/^([FMfm])(\d{5,9})$/);