Skip to content

Commit

Permalink
Merge pull request #802 from w3bdesign/dev
Browse files Browse the repository at this point in the history
Version 1.0.21
  • Loading branch information
w3bdesign authored Apr 10, 2022
2 parents 77ab579 + 305adee commit 5414e93
Show file tree
Hide file tree
Showing 7 changed files with 365 additions and 367 deletions.
4 changes: 1 addition & 3 deletions components/AlgoliaSearch/AlgoliaSearchBox.component.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,7 @@ const AlgoliaSearchBox = () => {
setSearch(text.target.value);
}}
/>
{search && (
<Hits className="absolute" hitComponent={SearchResults} />
)}
{search && <Hits className="absolute" hitComponent={SearchResults} />}
</InstantSearch>
</div>
</div>
Expand Down
5 changes: 1 addition & 4 deletions components/Header/Navbar.component.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,7 @@ const Navbar = () => (
</a>
</Link>
</div>
<div
className="flex items-center order-2 md:order-3"
id="nav-content"
>
<div className="flex items-center order-2 md:order-3" id="nav-content">
<Search />
<SVGMobileSearchIcon />
<Cart />
Expand Down
5 changes: 1 addition & 4 deletions components/Product/IndexProducts.component.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,7 @@ const IndexProducts = ({ products }) => (
image,
variations,
}) => (
<div
key={uuidv4()}
className="flex flex-col p-6 md:w-1/2 xl:w-1/4"
>
<div key={uuidv4()} className="flex flex-col p-6 md:w-1/2 xl:w-1/4">
<Link
href={`/produkt/${encodeURIComponent(
slug
Expand Down
3 changes: 1 addition & 2 deletions components/Product/SingleProduct.component.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,7 @@ const SingleProduct = ({ product }) => {
{!product.variations && salePrice}
</p>
<p className="pt-1 pl-8 mt-4 text-2xl text-gray-900 line-through">
{product.variations &&
filteredVariantPrice(price, 'right')}
{product.variations && filteredVariantPrice(price, 'right')}
{!product.variations && regularPrice}
</p>
</div>
Expand Down
Loading

1 comment on commit 5414e93

@vercel
Copy link

@vercel vercel bot commented on 5414e93 Apr 10, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.