From 8baf1511122ab1bc7c129e7aa6a9e6a38f24ed7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carl-Gerhard=20Lindesva=CC=88rd?= Date: Tue, 12 Mar 2024 22:44:14 +0100 Subject: [PATCH] sdk nextjs: add react --- packages/sdks/nextjs/index.tsx | 1 + packages/sdks/nextjs/package.json | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/sdks/nextjs/index.tsx b/packages/sdks/nextjs/index.tsx index 36dc4a8e..204e4f54 100644 --- a/packages/sdks/nextjs/index.tsx +++ b/packages/sdks/nextjs/index.tsx @@ -1,3 +1,4 @@ +import React from 'react'; import Script from 'next/script'; import type { diff --git a/packages/sdks/nextjs/package.json b/packages/sdks/nextjs/package.json index 8aa30759..4a3957d8 100644 --- a/packages/sdks/nextjs/package.json +++ b/packages/sdks/nextjs/package.json @@ -12,7 +12,9 @@ "@openpanel/web": "workspace:*" }, "peerDependencies": { - "next": "^13.0.0" + "next": "^14.0.0", + "react": "^18.2.0", + "react-dom": "^18.2.0" }, "devDependencies": { "@openpanel/eslint-config": "workspace:*",