Skip to content

Commit

Permalink
Update ListWineComponent.jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
vanderleik committed Apr 29, 2024
1 parent 79a3472 commit ec99a89
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions frontend/src/components/wine/forms/ListWineComponent.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import { Toolbar } from 'primereact/toolbar';
import { Button } from 'primereact/button';
import { Dialog } from 'primereact/dialog';
import { InputText } from 'primereact/inputtext';
import { InputNumber } from 'primereact/inputnumber';
import { FilterMatchMode } from 'primereact/api';
import { Toast } from 'primereact/toast';
import useListWineComponentHook from '../../../hooks/wine/useListWineComponentHook';
Expand Down Expand Up @@ -204,7 +203,7 @@ const ListWineComponent = () => {
</div>
<div className="p-field">
<label htmlFor="price">Preço de compra</label>
<InputNumber id="price" value={editingWine?.price || ''} onChange={(e) => setEditingWine({ ...editingWine, price: e.target.value })} />
<InputText id="price" value={editingWine?.price || ''} onChange={(e) => setEditingWine({ ...editingWine, price: e.target.value })} />
</div>
<div className="p-field">
<label htmlFor="purchaseLocation">Local de compra</label>
Expand Down

0 comments on commit ec99a89

Please sign in to comment.