From c4033a8e28d681f3c038890d70b19a1ee3021fa1 Mon Sep 17 00:00:00 2001 From: Ibrahim Mkusa Date: Wed, 3 May 2023 17:19:50 -0400 Subject: ex2.16 added custom component to display status of phonebook --- part2/phonebook/src/index.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'part2/phonebook/src/index.js') 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( - + ) -- cgit v1.2.3