Skip to content

Commit 8e4568d

Browse files
committed
Upgrading to React 19.
1 parent eb2add9 commit 8e4568d

File tree

3 files changed

+113
-108
lines changed

3 files changed

+113
-108
lines changed

package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -65,23 +65,23 @@
6565
"pretty-ms": "^9.2.0",
6666
"prismjs": "^1.29.0",
6767
"prop-types": "^15.8.1",
68-
"react": "^18.3.1",
68+
"react": "^19.0.0",
6969
"react-ace": "^13.0.0",
7070
"react-bootstrap": "2.10.8",
7171
"react-collapse": "^5.1.1",
7272
"react-copy-to-clipboard": "^5.1.0",
7373
"react-datetime": "^3.3.1",
7474
"react-diff-viewer": "^3.1.1",
75-
"react-dom": "^18.3.1",
75+
"react-dom": "^19.0.0",
7676
"react-dropzone": "^14.3.5",
7777
"react-height": "^3.0.2",
7878
"react-helmet": "^6.1.0",
7979
"react-immutable-proptypes": "^2.2.0",
80-
"react-intl": "6.8.9",
80+
"react-intl": "7.1.4",
8181
"react-motion": "^0.5.2",
8282
"react-redux": "^9.2.0",
83-
"react-router": "^6.28.2",
84-
"react-router-dom": "^6.28.2",
83+
"react-router": "^7.1.3",
84+
"react-router-dom": "^7.1.3",
8585
"react-syntax-highlighter": "^15.6.1",
8686
"react-toggle": "4.1.3",
8787
"redux": "^5.0.1",

src/components/layout/Footer/Footer.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ const Footer = ({ version }) => (
1010
defaultMessage="<strong>Version</strong> {version} (<a>changelog</a>)"
1111
values={{
1212
version,
13-
strong: text => <strong>{text}</strong>,
13+
strong: text => <strong key="strong">{text}</strong>,
1414
a: caption => (
15-
<a href="https://github.com/ReCodEx/wiki/wiki/Changelog" target="_blank" rel="noreferrer">
15+
<a key="link" href="https://github.com/ReCodEx/wiki/wiki/Changelog" target="_blank" rel="noreferrer">
1616
{caption}
1717
</a>
1818
),
@@ -24,7 +24,7 @@ const Footer = ({ version }) => (
2424
defaultMessage="Copyright © 2016-{year} <a>ReCodEx</a> SIS extension. All rights reserved."
2525
values={{
2626
a: caption => (
27-
<a href="http://github.com/recodex" target="_blank" rel="noreferrer">
27+
<a key="link" href="http://github.com/recodex" target="_blank" rel="noreferrer">
2828
{caption}
2929
</a>
3030
),

0 commit comments

Comments
 (0)