Skip to content

Commit

Permalink
EDSC-3592: Updates React
Browse files Browse the repository at this point in the history
  • Loading branch information
macrouch committed Dec 5, 2022
1 parent e09f931 commit dc9e0c6
Show file tree
Hide file tree
Showing 3 changed files with 724 additions and 562 deletions.
5 changes: 3 additions & 2 deletions example/src/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { useState } from 'react'
import { render } from 'react-dom'
import { createRoot } from 'react-dom/client'
import format from 'xml-formatter'
import GithubCorner from 'react-github-corner'

Expand Down Expand Up @@ -183,4 +183,5 @@ const App = () => {
)
}

render(<App />, document.getElementById('root'))
const root = createRoot(document.getElementById('root'))
root.render(<App />)
Loading

0 comments on commit dc9e0c6

Please sign in to comment.