Skip to content

Commit

Permalink
Upgrading to React 19.
Browse files Browse the repository at this point in the history
  • Loading branch information
krulis-martin committed Jan 22, 2025
1 parent eb2add9 commit 8e4568d
Show file tree
Hide file tree
Showing 3 changed files with 113 additions and 108 deletions.
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,23 +65,23 @@
"pretty-ms": "^9.2.0",
"prismjs": "^1.29.0",
"prop-types": "^15.8.1",
"react": "^18.3.1",
"react": "^19.0.0",
"react-ace": "^13.0.0",
"react-bootstrap": "2.10.8",
"react-collapse": "^5.1.1",
"react-copy-to-clipboard": "^5.1.0",
"react-datetime": "^3.3.1",
"react-diff-viewer": "^3.1.1",
"react-dom": "^18.3.1",
"react-dom": "^19.0.0",
"react-dropzone": "^14.3.5",
"react-height": "^3.0.2",
"react-helmet": "^6.1.0",
"react-immutable-proptypes": "^2.2.0",
"react-intl": "6.8.9",
"react-intl": "7.1.4",
"react-motion": "^0.5.2",
"react-redux": "^9.2.0",
"react-router": "^6.28.2",
"react-router-dom": "^6.28.2",
"react-router": "^7.1.3",
"react-router-dom": "^7.1.3",
"react-syntax-highlighter": "^15.6.1",
"react-toggle": "4.1.3",
"redux": "^5.0.1",
Expand Down
6 changes: 3 additions & 3 deletions src/components/layout/Footer/Footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ const Footer = ({ version }) => (
defaultMessage="<strong>Version</strong> {version} (<a>changelog</a>)"
values={{
version,
strong: text => <strong>{text}</strong>,
strong: text => <strong key="strong">{text}</strong>,
a: caption => (
<a href="https://github.com/ReCodEx/wiki/wiki/Changelog" target="_blank" rel="noreferrer">
<a key="link" href="https://github.com/ReCodEx/wiki/wiki/Changelog" target="_blank" rel="noreferrer">
{caption}
</a>
),
Expand All @@ -24,7 +24,7 @@ const Footer = ({ version }) => (
defaultMessage="Copyright © 2016-{year} <a>ReCodEx</a> SIS extension. All rights reserved."
values={{
a: caption => (
<a href="http://github.com/recodex" target="_blank" rel="noreferrer">
<a key="link" href="http://github.com/recodex" target="_blank" rel="noreferrer">
{caption}
</a>
),
Expand Down
Loading

0 comments on commit 8e4568d

Please sign in to comment.