From e3f1a29b09c5265632413d991b5540487862785c Mon Sep 17 00:00:00 2001 From: Chris Chudzicki Date: Sat, 15 Jan 2022 21:23:17 -0500 Subject: [PATCH] fix(tutorial): use "root" as root div id (#8582) --- contributors.yml | 1 + tutorial/index.html | 2 +- tutorial/src/main.jsx | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/contributors.yml b/contributors.yml index b461e8d886..5b6e727522 100644 --- a/contributors.yml +++ b/contributors.yml @@ -2,6 +2,7 @@ - brockross - chaance - chasinhues +- christopherchudzicki - elylucas - hongji00 - JakubDrozd diff --git a/tutorial/index.html b/tutorial/index.html index 3e91e89f3d..bb0aca7e07 100644 --- a/tutorial/index.html +++ b/tutorial/index.html @@ -6,7 +6,7 @@ React Router - Tutorial -
+
diff --git a/tutorial/src/main.jsx b/tutorial/src/main.jsx index 514b32507b..8a3cadb896 100644 --- a/tutorial/src/main.jsx +++ b/tutorial/src/main.jsx @@ -3,5 +3,5 @@ import * as ReactDOM from "react-dom"; import App from "./App"; import "./main.css"; -let rootElement = document.getElementById("app"); +let rootElement = document.getElementById("root"); ReactDOM.render(, rootElement);