Skip to content

Commit

Permalink
fix: update to react v18
Browse files Browse the repository at this point in the history
  • Loading branch information
timlrx committed Oct 14, 2023
1 parent 6f06c4e commit 0382dfe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions demo/app/main.jsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import React from 'react'
import ReactDOM from 'react-dom'
import ReactDOM from 'react-dom/client'
import App from './App'

ReactDOM.render(
ReactDOM.createRoot(document.getElementById('root')).render(
<React.StrictMode>
<App />
</React.StrictMode>,
document.getElementById('root')
</React.StrictMode>
)
2 changes: 1 addition & 1 deletion demo/app/md-examples.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,4 +93,4 @@ Otherwise the URL will be used.
To cite, use the DOI reference directly or use the URL without the protocol (https://).
### Bibliography
`
`

0 comments on commit 0382dfe

Please sign in to comment.