Skip to content

Commit 52b4fcf

Browse files
committed
Prettier
1 parent a4b7741 commit 52b4fcf

File tree

7 files changed

+23
-31
lines changed

7 files changed

+23
-31
lines changed

.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
NEXT_PUBLIC_GRAPHQL_URL="https://woocommerce.url.com/graphql"
1+
NEXT_PUBLIC_GRAPHQL_URL="https://wordpress.url.com/graphql"
22
NEXT_PUBLIC_ALGOLIA_INDEX_NAME= "algolia"
33
NEXT_PUBLIC_PLACEHOLDER_SMALL_IMAGE_URL="https://res.cloudinary.com/placeholder-337_utsb7h.jpg"
44
NEXT_PUBLIC_PLACEHOLDER_LARGE_IMAGE_URL="https://res.cloudinary.com/placeholder-616-616_beecp5.jpg"

components/AlgoliaSearch/AlgoliaSearchBox.component.jsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import algoliasearch from 'algoliasearch';
22
import { InstantSearch, SearchBox, Hits } from 'react-instantsearch-dom';
33
import { useState } from 'react';
44

5-
65
import SearchResults from './SearchResults.component';
76

87
const searchClient = algoliasearch(

components/AlgoliaSearch/MobileSearch.component.jsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import algoliasearch from 'algoliasearch';
22
import { InstantSearch, SearchBox, Hits } from 'react-instantsearch-dom';
33
import { useState } from 'react';
44

5-
65
import SearchResults from './SearchResults.component';
76

87
const searchClient = algoliasearch(

components/Product/SingleProduct.component.jsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ import { useState, useEffect } from 'react';
33
import AddToCartButton from 'components/Cart/AddToCartButton.component';
44
import LoadingSpinner from 'components/LoadingSpinner/LoadingSpinner.component';
55

6-
7-
86
import { filteredVariantPrice } from 'utils/functions/functions';
97

108
/**

package-lock.json

Lines changed: 22 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

utils/apollo/ApolloClient.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ import {
77
ApolloLink,
88
} from '@apollo/client';
99

10-
11-
1210
/**
1311
* Middleware operation
1412
* If we have a session token in localStorage, add it to the GraphQL request as a Session header.

utils/functions/functions.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
import { v4 as uuidv4 } from 'uuid';
22

3-
4-
53
/**
64
* Shorten inputted string (usually product description) to a maximum of length
75
* @param {String} string The string that we input

0 commit comments

Comments
 (0)