From 6ac2b0ce4d999c63478d85b40ad56ccda9624797 Mon Sep 17 00:00:00 2001 From: Jerel Miller Date: Thu, 1 Feb 2024 07:25:05 -0700 Subject: [PATCH] Update import to `rehackt` in `useLazyRef` (#11552) * Update import to `rehackt` in `useLazyQuery` * Add changeset --- .changeset/young-dots-breathe.md | 5 +++++ src/react/hooks/internal/useLazyRef.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/young-dots-breathe.md diff --git a/.changeset/young-dots-breathe.md b/.changeset/young-dots-breathe.md new file mode 100644 index 00000000000..1f354fc9eeb --- /dev/null +++ b/.changeset/young-dots-breathe.md @@ -0,0 +1,5 @@ +--- +"@apollo/client": patch +--- + +Fix import in `useLazyRef` causing import issues in the nextjs package. diff --git a/src/react/hooks/internal/useLazyRef.ts b/src/react/hooks/internal/useLazyRef.ts index 645872aa9bd..2656a2773a4 100644 --- a/src/react/hooks/internal/useLazyRef.ts +++ b/src/react/hooks/internal/useLazyRef.ts @@ -1,4 +1,4 @@ -import * as React from "react"; +import * as React from "rehackt"; const INIT = {};