Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(jokes): Add missing highlight of updated lines #2395

Merged
merged 6 commits into from
Mar 20, 2022
Merged
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions contributors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
- cysp
- damiensedgwick
- danielweinmann
- dan-gamble
- davecalnan
- DavidHollins6
- denissb
Expand Down
6 changes: 3 additions & 3 deletions docs/tutorials/jokes.md
Original file line number Diff line number Diff line change
Expand Up @@ -3407,7 +3407,7 @@ export async function createUserSession(

<summary>app/routes/jokes.tsx</summary>

```tsx filename=app/routes/jokes.tsx lines=[6,14,30,52-63]
```tsx filename=app/routes/jokes.tsx lines=[6,14,18-20,26,30,52-63]
import type { User } from "@prisma/client";
import type { LinksFunction, LoaderFunction } from "remix";
import { json, Link, Outlet, useLoaderData } from "remix";
Expand Down Expand Up @@ -3952,7 +3952,7 @@ Remember that the `app/root.tsx` module is responsible for rendering our `<html>

<summary>app/root.tsx</summary>

```tsx filename=app/root.tsx lines=[57-67]
```tsx filename=app/root.tsx lines=[27-47,49-55,57-67]
import type { LinksFunction } from "remix";
import { Links, LiveReload, Outlet } from "remix";

Expand Down Expand Up @@ -4352,7 +4352,7 @@ export function ErrorBoundary() {

<summary>app/routes/jokes/new.tsx</summary>

```tsx filename=app/routes/jokes/new.tsx lines=[6,16-24,156-167]
```tsx filename=app/routes/jokes/new.tsx lines=[6,16-24,164-175]
import type { ActionFunction, LoaderFunction } from "remix";
import {
useActionData,
Expand Down