We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3210aec + 6d045f3 commit 10b8812Copy full SHA for 10b8812
src/front/js/component/producto.js
@@ -69,9 +69,9 @@ export const Producto = ({ id, data }) => {
69
</div>
70
71
<div className="mt-auto text-center">
72
- <Link to="/carrito" className="btn btn-primary m-2" onClick={productAdd}>
+ <button className="btn btn-primary m-2" onClick={productAdd}>
73
Añadir al carrito
74
- </Link>
+ </button>
75
76
77
@@ -81,4 +81,4 @@ export const Producto = ({ id, data }) => {
81
82
83
);
84
-};
+};
0 commit comments