diff --git a/frontend/src/Components/NumberInput.tsx b/frontend/src/Components/NumberInput.tsx
index 94b0612..4ae5988 100644
--- a/frontend/src/Components/NumberInput.tsx
+++ b/frontend/src/Components/NumberInput.tsx
@@ -14,7 +14,7 @@ export function NumberInput({
}) {
return (
- Crianças acima de 12 anos:
- Dependentes (12+ anos):
+ {
- const newValue = value - 1;
- if (isValidValue(newValue)) {
- setValue(newValue);
- }
- }}
- />
- {
- if (isValidValue(Number(e.target.value))) {
- onChange(e);
- }
- }}
- />
- {
- const newValue = value + 1;
- if (isValidValue(newValue)) {
- setValue(newValue);
- }
- }}
- />
+ >
+ {
+ const newValue = value - 1;
+ if (isValidValue(newValue)) {
+ setValue(newValue);
+ }
+ }}
+ />
+ {
+ if (isValidValue(Number(e.target.value))) {
+ onChange(e);
+ }
+ }}
+ />
+ {
+ const newValue = value + 1;
+ if (isValidValue(newValue)) {
+ setValue(newValue);
+ }
+ }}
+ />
+
);
};