Skip to content

Commit 305adee

Browse files
committed
Version 1.0.21
1 parent 77ab579 commit 305adee

File tree

7 files changed

+365
-367
lines changed

7 files changed

+365
-367
lines changed

components/AlgoliaSearch/AlgoliaSearchBox.component.jsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,7 @@ const AlgoliaSearchBox = () => {
5050
setSearch(text.target.value);
5151
}}
5252
/>
53-
{search && (
54-
<Hits className="absolute" hitComponent={SearchResults} />
55-
)}
53+
{search && <Hits className="absolute" hitComponent={SearchResults} />}
5654
</InstantSearch>
5755
</div>
5856
</div>

components/Header/Navbar.component.jsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,7 @@ const Navbar = () => (
5555
</a>
5656
</Link>
5757
</div>
58-
<div
59-
className="flex items-center order-2 md:order-3"
60-
id="nav-content"
61-
>
58+
<div className="flex items-center order-2 md:order-3" id="nav-content">
6259
<Search />
6360
<SVGMobileSearchIcon />
6461
<Cart />

components/Product/IndexProducts.component.jsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,7 @@ const IndexProducts = ({ products }) => (
2626
image,
2727
variations,
2828
}) => (
29-
<div
30-
key={uuidv4()}
31-
className="flex flex-col p-6 md:w-1/2 xl:w-1/4"
32-
>
29+
<div key={uuidv4()} className="flex flex-col p-6 md:w-1/2 xl:w-1/4">
3330
<Link
3431
href={`/produkt/${encodeURIComponent(
3532
slug

components/Product/SingleProduct.component.jsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,7 @@ const SingleProduct = ({ product }) => {
6969
{!product.variations && salePrice}
7070
</p>
7171
<p className="pt-1 pl-8 mt-4 text-2xl text-gray-900 line-through">
72-
{product.variations &&
73-
filteredVariantPrice(price, 'right')}
72+
{product.variations && filteredVariantPrice(price, 'right')}
7473
{!product.variations && regularPrice}
7574
</p>
7675
</div>

0 commit comments

Comments
 (0)