continue lesson

This commit is contained in:
counterweight 2025-05-25 14:19:20 +02:00
parent f1916e5c56
commit f1b67a4346
Signed by: counterweight
GPG key ID: 883EDBAA726BD96C
2 changed files with 15 additions and 8 deletions

View file

@ -3,9 +3,4 @@ import App from "./App";
import axios from "axios";
axios.get("http://localhost:3001/notes").then((response) => {
const notes = response.data;
ReactDOM.createRoot(document.getElementById("root")).render(
<App startingNotes={notes} />
);
});
ReactDOM.createRoot(document.getElementById("root")).render(<App />);