This commit is contained in:
2024-10-27 07:39:37 +00:00
parent a1b8bba898
commit 6510e9cc37
2 changed files with 5 additions and 26 deletions

View File

@@ -1,25 +1,9 @@
import logo from './logo.svg'; import React from 'react'
import './App.css';
function App() { const App = () => {
return ( return (
<div className="App"> <div>App</div>
<header className="App-header"> )
<img src={logo} className="App-logo" alt="logo" />
<p>
Edit <code>src/App.js</code> and save to reload dude.
</p>
<a
className="App-link"
href="https://reactjs.org"
target="_blank"
rel="noopener noreferrer"
>
Learn React
</a>
</header>
</div>
);
} }
export default App; export default App

View File

@@ -2,7 +2,6 @@ import React from 'react';
import ReactDOM from 'react-dom/client'; import ReactDOM from 'react-dom/client';
import './index.css'; import './index.css';
import App from './App'; import App from './App';
import reportWebVitals from './reportWebVitals';
const root = ReactDOM.createRoot(document.getElementById('root')); const root = ReactDOM.createRoot(document.getElementById('root'));
root.render( root.render(
@@ -11,7 +10,3 @@ root.render(
</React.StrictMode> </React.StrictMode>
); );
// If you want to start measuring performance in your app, pass a function
// to log results (for example: reportWebVitals(console.log))
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
reportWebVitals();