From 17ebed85fdf00988a0e9cfa984d41c81bc43b079 Mon Sep 17 00:00:00 2001 From: Mohan Raj Rajamanickam Date: Fri, 25 Aug 2023 19:16:57 -0700 Subject: [PATCH] rename client wrapper to client utils https://coveord.atlassian.net/browse/KIT-2606 --- .../headless-react/src/{client-wrapper.ts => client-utils.ts} | 0 packages/headless-react/src/search-engine.tsx | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) rename packages/headless-react/src/{client-wrapper.ts => client-utils.ts} (100%) diff --git a/packages/headless-react/src/client-wrapper.ts b/packages/headless-react/src/client-utils.ts similarity index 100% rename from packages/headless-react/src/client-wrapper.ts rename to packages/headless-react/src/client-utils.ts diff --git a/packages/headless-react/src/search-engine.tsx b/packages/headless-react/src/search-engine.tsx index 9e4edc303de..221cf17cebf 100644 --- a/packages/headless-react/src/search-engine.tsx +++ b/packages/headless-react/src/search-engine.tsx @@ -7,9 +7,9 @@ import { mapObject, } from '@coveo/headless/ssr'; import {useContext, useCallback, useMemo, Context} from 'react'; -// Workaround to prevent Nextjs erroring about importing CSR only hooks +// Workaround to prevent Next.js erroring about importing CSR only hooks import React from 'react'; -import {useSyncMemoizedStore} from './client-wrapper'; +import {useSyncMemoizedStore} from './client-utils'; import { ContextCSRState, ContextState,