From 0c8f44cdb0e858a7c7b669a83387c54fb4d04226 Mon Sep 17 00:00:00 2001 From: Lorenz Kahl Date: Mon, 29 Jul 2024 17:19:47 +0200 Subject: [PATCH] uses latest React 18 minor versions for code-previews on Codepen (#2125) Co-authored-by: Lorenz Kahl --- docs/assets/scripts/code-previews.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/assets/scripts/code-previews.js b/docs/assets/scripts/code-previews.js index 8963f564..0d83547a 100644 --- a/docs/assets/scripts/code-previews.js +++ b/docs/assets/scripts/code-previews.js @@ -65,7 +65,7 @@ } const shoelaceVersion = document.documentElement.getAttribute('data-shoelace-version'); - const reactVersion = '18.2.0'; + const reactVersion = '^18'; const cdndir = 'cdn'; const npmdir = 'dist'; let flavor = getFlavor();