Skip to content

Commit

Permalink
feat: use createRoot
Browse files Browse the repository at this point in the history
  • Loading branch information
kellyjosephprice committed Apr 5, 2024
1 parent 770f043 commit 5c2c0fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ curabitur aute aptent. Ultrices orci wisi dui ipsum praesent, pharetra felis eu
maxime sem dapibus et eget, mi enim dignissim nec pretium, augue vehicula, volutpat proin. Et occaecati
lobortis viverra, cum in sed, vivamus tellus. Libero at malesuada est vivamus leo tortor.`;

ReactDOM.render(
('createRoot' in ReactDOM ? ReactDOM.createRoot : ReactDOM.render)(

Check failure on line 77 in public/index.js

View workflow job for this annotation

GitHub Actions / build (18 w/ React 18

ReactDOM.render is deprecated since React 18.0.0, use createRoot instead, see https://reactjs.org/link/switch-to-createroot

Check failure on line 77 in public/index.js

View workflow job for this annotation

GitHub Actions / build (20 w/ React 18

ReactDOM.render is deprecated since React 18.0.0, use createRoot instead, see https://reactjs.org/link/switch-to-createroot
<div style={{ margin: '20px' }}>
<h1>Core Syntax Highlighter</h1>

Expand Down

0 comments on commit 5c2c0fe

Please sign in to comment.