Skip to content

Commit ae0d949

Browse files
committed
fixed #6
1 parent a28e8ce commit ae0d949

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lessons/06-transitions/C-making-it-work-without-transitions.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ keywords:
1717

1818
Let's first make this "wrong" first - the problem where the UI locks up during transitional times.
1919

20-
Let's make a Score.jsx file
20+
Let's make a `Score.jsx` file
2121

2222
```javascript
2323
const loadingUrl = "/images/loading.webp";
@@ -49,7 +49,7 @@ export default function Score({
4949

5050
- Key here is that if the score is pending, we show a dash. That will visually indicate to the user we haven't loaded it yet.
5151

52-
Okay, let's make a quick function fetch from the API. Make a file called getScore.js
52+
Okay, let's make a quick function fetch from the API. Make a file called `getScore.js`
5353

5454
```javascript
5555
export default async function getScore(game) {
@@ -61,7 +61,7 @@ export default async function getScore(game) {
6161

6262
No surprises here.
6363

64-
Let's go modify our App.jsx. Put this in there
64+
Let's go modify our `App.jsx`. Put this in there
6565

6666
```javascript
6767
import { useState, useEffect } from "react";

lessons/06-transitions/D-making-it-work-with-transitions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ keywords:
1111
- Brian Holt
1212
---
1313

14-
Luckily the useTransition code is only slightly more complex.
14+
Luckily the useTransition code is only slightly more complex. Update `App.jsx`:
1515

1616
```javascript
1717
// add useTransition at top

0 commit comments

Comments
 (0)