Skip to content

Commit

Permalink
fix budget modal (#329)
Browse files Browse the repository at this point in the history
  • Loading branch information
soker90 authored Sep 23, 2024
1 parent 2654abc commit d1cf8b5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/client/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@soker90/finper-client",
"private": true,
"version": "1.4.1",
"version": "1.4.2",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
4 changes: 3 additions & 1 deletion packages/client/src/pages/Budgets/components/ModalEdit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ const ModalEdit = ({ onClose, budget, year, month }: Props) => {
<ModalGrid title='Editar cantidad' onClose={onClose} show={Boolean(budget)} action={onSubmit}>
<InputForm label='Cantidad' id='amount'
error={!!errors.amount} {...register('amount', { required: true, valueAsNumber: true })}
errorText='Introduce un número válido' type='number' inputProps={{ step: 'any' }}/>
errorText='Introduce un número válido' type='number' inputProps={{ step: 'any' }}
size={12}
/>

</ModalGrid>
</form>
Expand Down

0 comments on commit d1cf8b5

Please sign in to comment.