We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18e6bd6 commit 549c199Copy full SHA for 549c199
exercises/07.error-handling/02.problem.thrown-response/README.mdx
@@ -112,7 +112,7 @@ export async function requireUser(request: Request) {
112
This is a great way to make nice utilities that make the regular application
113
code much easier to write and read:
114
115
-```tsx filename=app/routes/sandwiches.$sandwichId.tsx add=8,17 remove=7,12-16
+```tsx filename=app/routes/sandwiches.$sandwichId.tsx add=8,17 remove=9-12,18-21
116
import { json, type DataFunctionArgs, type MetaFunction } from '@remix-run/node'
117
import { invariantResponse, useIsSubmitting } from '#app/utils/misc.tsx'
118
import { getUser } from '#app/utils/auth.server'
0 commit comments