From 898c807e4baff874bb8a01aab452fcfe334e5725 Mon Sep 17 00:00:00 2001 From: Amrit Date: Wed, 1 Jan 2025 09:17:11 +0530 Subject: [PATCH] fix: react incompatiblity with nextjs error --- packages/embeds/embed-react/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/embeds/embed-react/package.json b/packages/embeds/embed-react/package.json index 8f0fe4e188b983..5962051966a163 100644 --- a/packages/embeds/embed-react/package.json +++ b/packages/embeds/embed-react/package.json @@ -30,8 +30,8 @@ "module": "./dist/Cal.es.mjs", "types": "./dist/embed-react/src/index.d.ts", "peerDependencies": { - "react": "^18.2.0", - "react-dom": "^18.2.0" + "react": "^18.2.0 || ^19.0.0", + "react-dom": "^18.2.0 || ^19.0.0" }, "files": [ "dist"