Skip to content

Commit

Permalink
Merge pull request #117 from Shopify/fix-collections-refresh
Browse files Browse the repository at this point in the history
[Template] Re-export Link component
  • Loading branch information
travispamaral authored Nov 5, 2021
2 parents 2868887 + 3ffc6b9 commit 7188951
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/dev/src/components/Link.client.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export {Link} from '@shopify/hydrogen/client';
4 changes: 3 additions & 1 deletion packages/dev/src/components/ProductCard.server.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import {Link, Image, Money} from '@shopify/hydrogen';
import {Image, Money} from '@shopify/hydrogen';

import {Link} from './Link.client';

export default function ProductCard({product}) {
const selectedVariant = product.variants.edges[0].node;
Expand Down

0 comments on commit 7188951

Please sign in to comment.