Action buttons lack loading/disabled states; users may trigger multiple requests.
Input uses type="text" with inputMode="decimal"; consider type="number" for better validation.
useEffect depends on cargar which is recreated each render; wrap cargar in useCallback or add to deps.
toggleActivo doesn't handle errors; UI may become out of sync if request fails.
valor from prompt is a string; parse to number for duracionHoras.
cargar() doesn't handle network errors or non-ok responses; add error handling.
The null check catches the conflict but masks other potential null returns; narrow the check to the specific error thrown above.
hashtext() returns a 32-bit integer; advisory lock collisions are possible under high concurrency. Consider using a 64-bit hash or a composite key (e.g., hashtext(jefeMecanicoId