This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
import { StrictMode } from 'react'
|
||||
import { createRoot } from 'react-dom/client'
|
||||
import './index.css'
|
||||
import App from './App.jsx'
|
||||
import { StrictMode } from 'react';
|
||||
import { createRoot } from 'react-dom/client';
|
||||
import './index.css';
|
||||
import App from './App.jsx';
|
||||
|
||||
createRoot(document.getElementById('root')).render(
|
||||
<StrictMode>
|
||||
<App />
|
||||
</StrictMode>,
|
||||
)
|
||||
);
|
||||
|
||||
@@ -6,6 +6,6 @@ const ProductListItem = (props) => {
|
||||
<h3>{title}</h3>
|
||||
{children || <p>{description}</p>}
|
||||
</li>
|
||||
);
|
||||
); // View
|
||||
};
|
||||
export default ProductListItem;
|
||||
|
||||
Reference in New Issue
Block a user