diff options
Diffstat (limited to 'part2/phonebook/src/index.js')
-rw-r--r-- | part2/phonebook/src/index.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/part2/phonebook/src/index.js b/part2/phonebook/src/index.js index 68a05ff..f3eb11d 100644 --- a/part2/phonebook/src/index.js +++ b/part2/phonebook/src/index.js @@ -1,10 +1,10 @@ -import React from 'react'; -import ReactDOM from 'react-dom/client'; -import App from './App'; +import React from 'react' +import ReactDOM from 'react-dom/client' +import App from './App' +import './index.css' - -const root = ReactDOM.createRoot(document.getElementById('root')); +const root = ReactDOM.createRoot(document.getElementById('root')) root.render( - <App /> + <App /> ) |