Skip to content

Commit 6d045f3

Browse files
authored
Update producto.js
1 parent 3210aec commit 6d045f3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/front/js/component/producto.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@ export const Producto = ({ id, data }) => {
6969
</div>
7070

7171
<div className="mt-auto text-center">
72-
<Link to="/carrito" className="btn btn-primary m-2" onClick={productAdd}>
72+
<button className="btn btn-primary m-2" onClick={productAdd}>
7373
Añadir al carrito
74-
</Link>
74+
       </button>
7575
</div>
7676
</div>
7777
</div>
@@ -81,4 +81,4 @@ export const Producto = ({ id, data }) => {
8181
</div>
8282
</div>
8383
);
84-
};
84+
};

0 commit comments

Comments
 (0)