From 93662eadb0b785dedab3edc80e84c3b27dbdc44b Mon Sep 17 00:00:00 2001 From: William Kelley Date: Mon, 8 Jul 2024 10:51:29 -0400 Subject: [PATCH] fix(dataviz): duplicate react Closes #763, assuming that the warning about ["duplicate react"](https://legacy.reactjs.org/warnings/invalid-hook-call-warning.html#duplicate-react) is what's wrong here. --- packages/dataviz/package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/dataviz/package.json b/packages/dataviz/package.json index 74881997..3392b91e 100644 --- a/packages/dataviz/package.json +++ b/packages/dataviz/package.json @@ -18,7 +18,9 @@ "d3-scale": "^4.0.2", "d3-shape": "^3.2.0", "deepmerge": "^4.3.1", - "react": "^17 || ^18", "type-fest": "^3.13.1" + }, + "peerDependencies": { + "react": "^17 || ^18" } }