Skip to content

Commit

Permalink
fix: moved algolia routes to the correct store sub folder
Browse files Browse the repository at this point in the history
  • Loading branch information
field123 committed Jan 18, 2024
1 parent 832e778 commit da8e275
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ReactNode } from "react";
import Breadcrumb from "../../../components/breadcrumb";
import Breadcrumb from "../../../../components/breadcrumb";

export default function SearchLayout({ children }: { children: ReactNode }) {
return (
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
"use client";
import { searchClient } from "../../lib/search-client";
import { searchClient } from "../../../lib/search-client";
import { InstantSearchNext } from "react-instantsearch-nextjs";
import { algoliaEnvData } from "../../lib/resolve-algolia-env";
import { resolveAlgoliaRouting } from "../../lib/algolia-search-routing";
import SearchResults from "../../components/search/SearchResults";
import { algoliaEnvData } from "../../../lib/resolve-algolia-env";
import { resolveAlgoliaRouting } from "../../../lib/algolia-search-routing";
import SearchResults from "../../../components/search/SearchResults";
import React from "react";
import { buildBreadcrumbLookup } from "../../lib/build-breadcrumb-lookup";
import { buildBreadcrumbLookup } from "../../../lib/build-breadcrumb-lookup";
import { useStore } from "@elasticpath/react-shopper-hooks";
import {
HierarchicalMenuProps,
Expand All @@ -21,8 +21,8 @@ import {
useSearchBox,
useSortBy,
} from "react-instantsearch";
import { sortByItems } from "../../lib/sort-by-items";
import { hierarchicalAttributes } from "../../lib/hierarchical-attributes";
import { sortByItems } from "../../../lib/sort-by-items";
import { hierarchicalAttributes } from "../../../lib/hierarchical-attributes";

export function Search() {
const { nav } = useStore();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"react-instantsearch-hooks": "^6.47.3",
"react-instantsearch-nextjs": "^0.1.2",
"server-only": "^0.0.1",
"instantsearch.js": "4.59.0",
"instantsearch.js": "4.64.0",
"@next/bundle-analyzer": "^14.0.0",
"@next/env": "^14.0.0",
"encoding": "^0.1.13",
Expand Down

0 comments on commit da8e275

Please sign in to comment.