This commit is contained in:
Martin Quarda 2024-10-14 10:31:37 +02:00
parent d8d0811197
commit 3580a358ee

View File

@ -338,7 +338,7 @@ class Main extends Component {
<td>Celkem</td>
<td></td>
<td>{this.calculateTotalPrice()} </td>
<td><form id="form" action='/api/cart/buy' onSubmit={(e) => this.onSubmit(e)}><button class="btn btn-primary" type="submit">Koupit</button></form></td>
<td><form id="form" action='/api/cart/buy' onSubmit={(e) => this.onSubmit(e)}><button class="btn btn-primary" type="submit"><input type="hidden" name="something" value="nothing" />Koupit</button></form></td>
</tr>
</tbody>
</table>