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 = {};