Skip to content

Commit 10b8812

Browse files
authored
Merge pull request #40 from 4GeeksAcademy/Brenes93-patch-4
Update producto.js
2 parents 3210aec + 6d045f3 commit 10b8812

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: src/front/js/component/producto.js

+3-3
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)