Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
remix-run-bot committed Feb 27, 2022
1 parent 94df4b6 commit 347f4fe
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/getting-started/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -807,7 +807,11 @@ export function deleteInvoice(number) {
Now let's add the delete button, call our new function, and navigate to the index route:

```js lines=[1-2,5-6,17-26] filename=src/routes/invoice.jsx
import { useParams, useNavigate, useLocation } from "react-router-dom";
import {
useParams,
useNavigate,
useLocation,
} from "react-router-dom";
import { getInvoice, deleteInvoice } from "../data";
export default function Invoice() {
Expand Down

0 comments on commit 347f4fe

Please sign in to comment.