Skip to content

Commit 72db6e8

Browse files
committed
Fix UMD file paths
React stopped publishing UMD builds since v19
1 parent 65906bb commit 72db6e8

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/components/GuideView/Installation.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,8 @@ const Installation = ({ locale }: { locale: SupportedLocale }) => (
2727
 )   :
2828
</p>
2929
<Highlight className="html">
30-
{`<script src="https://unpkg.com/react/umd/react.production.min.js"></script>
31-
<script src="https://unpkg.com/react-dom/umd/react-dom.production.min.js"></script>
32-
<script src="https://unpkg.com/prop-types/prop-types.min.js"></script>
30+
{`<script src="https://unpkg.com/react@18/umd/react.production.min.js"></script>
31+
<script src="https://unpkg.com/react-dom@18/umd/react-dom.production.min.js"></script>
3332
<script src="https://unpkg.com/recharts/umd/Recharts.js"></script>`}
3433
</Highlight>
3534
<p className="paragraph-title">

0 commit comments

Comments
 (0)