Skip to content

Commit 2d5731f

Browse files
committed
Rename search to algoliasearch
1 parent cf7f2cd commit 2d5731f

File tree

5 files changed

+5
-2
lines changed

5 files changed

+5
-2
lines changed

components/Search/SearchResults.component.jsx renamed to components/AlgoliaSearch/SearchResults.component.jsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ const SearchResults = ({
1515
objectID,
1616
},
1717
}) => {
18+
console.log("Product image: ");
19+
console.log(product_image);
20+
1821
return (
1922
<article className="cursor-pointer hit">
2023
<Link

components/Header/Navbar.component.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import Link from 'next/link';
22

33
import Cart from '../Cart/Cart.component';
4-
import Search from '../Search/AlgoliaSearchBox.component';
4+
import Search from '../AlgoliaSearch/AlgoliaSearchBox.component';
55
import SVGMobileSearchIcon from '../SVG/SVGMobileSearchIcon.component';
66
import Hamburger from './Hamburger.component';
77

components/SVG/SVGMobileSearchIcon.component.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { useState } from 'react';
22
import { useSpring, animated } from 'react-spring';
33

4-
import MobileSearch from '../Search/MobileSearch.component';
4+
import MobileSearch from '../AlgoliaSearch/MobileSearch.component';
55
import SVGCloseX from './SVGCloseX.component';
66

77
/**

0 commit comments

Comments
 (0)