Skip to content

Commit

Permalink
order form: add type="submit" to button
Browse files Browse the repository at this point in the history
  • Loading branch information
sehyunc committed Oct 29, 2024
1 parent 8de40e7 commit cd5053e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/trade/[base]/components/new-order/new-order-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,7 @@ export function NewOrderForm({
maintenanceMode.severity === "critical")
}
size="xl"
type="submit"
variant="default"
>
{form.getValues("isSell") ? "Sell" : "Buy"} {base}
Expand Down

0 comments on commit cd5053e

Please sign in to comment.