Skip to content

Commit

Permalink
Open external product page link in new tab
Browse files Browse the repository at this point in the history
  • Loading branch information
futurGH committed Nov 14, 2023
1 parent b0ad3a1 commit 5fdb05f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/product/ProductInfo.client.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ function AddToCart({ product }: { product: ProductDetailsFragment }) {
if (product.externalUrl?.value) {
return (
<ButtonLink
target="_blank"
className="gap-2 text-base"
url={product.externalUrl.value}
color="matcha"
Expand Down

0 comments on commit 5fdb05f

Please sign in to comment.