Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions docs/getting-started/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,9 @@ The `main.jsx` file is the entry point. Open it up and we'll put React Router on

👉 **Add [`DataBrowserRouter`][databrowserrouter] and a [`Route`][route] to `main.jsx`**

```jsx lines=[4, 9-11] bad lines=[3] filename=src/main.jsx
```jsx lines=[3,8-10] filename=src/main.jsx
import React from "react";
import ReactDOM from "react-dom/client";
import App from "./App";
import { DataBrowserRouter, Route } from "react-router-dom";
import "./index.css";

Expand Down