Skip to content

Commit

Permalink
Add missing useRouteError import in loader docs (#9425)
Browse files Browse the repository at this point in the history
  • Loading branch information
krystof-k committed May 20, 2024
1 parent a94303c commit 58ac1e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions contributors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,7 @@
- knowler
- konradkalemba
- krolebord
- krystof-k
- ksjogo
- kubaprzetakiewicz
- kuldar
Expand Down
1 change: 1 addition & 0 deletions docs/route/loader.md
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ import { json } from "@remix-run/node"; // or cloudflare/deno
import {
isRouteErrorResponse,
useLoaderData,
useRouteError,
} from "@remix-run/react";

import { getInvoice } from "~/db";
Expand Down

0 comments on commit 58ac1e9

Please sign in to comment.