Skip to content

Commit b1571e3

Browse files
committed
fuggin whitespace
1 parent 31e63de commit b1571e3

File tree

3 files changed

+55
-56
lines changed

3 files changed

+55
-56
lines changed

src/content/learn/escape-hatches.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -453,20 +453,20 @@ This is not ideal. You want to re-connect to the chat only if the `roomId` has c
453453
<Sandpack>
454454

455455
```json package.json hidden
456-
{
457-
"dependencies": {
458-
"react": "latest",
459-
"react-dom": "latest",
460-
"react-scripts": "latest",
461-
"toastify-js": "1.12.0"
462-
},
463-
"scripts": {
464-
"start": "react-scripts start",
465-
"build": "react-scripts build",
466-
"test": "react-scripts test --env=jsdom",
467-
"eject": "react-scripts eject"
468-
}
469-
}
456+
{
457+
"dependencies": {
458+
"react": "latest",
459+
"react-dom": "latest",
460+
"react-scripts": "latest",
461+
"toastify-js": "1.12.0"
462+
},
463+
"scripts": {
464+
"start": "react-scripts start",
465+
"build": "react-scripts build",
466+
"test": "react-scripts test --env=jsdom",
467+
"eject": "react-scripts eject"
468+
}
469+
}
470470
```
471471

472472
```js

src/content/learn/removing-effect-dependencies.md

Lines changed: 27 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1784,22 +1784,21 @@ Another of these functions only exists to pass some state to an imported API met
17841784
17851785
<Sandpack>
17861786
1787-
17881787
```json package.json hidden
17891788
{
1790-
"dependencies": {
1791-
"react": "latest",
1792-
"react-dom": "latest",
1793-
"react-scripts": "latest",
1794-
"toastify-js": "1.12.0"
1795-
},
1796-
"scripts": {
1797-
"start": "react-scripts start",
1798-
"build": "react-scripts build",
1799-
"test": "react-scripts test --env=jsdom",
1800-
"eject": "react-scripts eject"
1801-
}
1802-
}
1789+
"dependencies": {
1790+
"react": "latest",
1791+
"react-dom": "latest",
1792+
"react-scripts": "latest",
1793+
"toastify-js": "1.12.0"
1794+
},
1795+
"scripts": {
1796+
"start": "react-scripts start",
1797+
"build": "react-scripts build",
1798+
"test": "react-scripts test --env=jsdom",
1799+
"eject": "react-scripts eject"
1800+
}
1801+
}
18031802
```
18041803
18051804
```js src/App.js
@@ -2082,20 +2081,20 @@ As a result, the chat re-connects only when something meaningful (`roomId` or `i
20822081
20832082
20842083
```json package.json hidden
2085-
{
2086-
"dependencies": {
2087-
"react": "latest",
2088-
"react-dom": "latest",
2089-
"react-scripts": "latest",
2090-
"toastify-js": "1.12.0"
2091-
},
2092-
"scripts": {
2093-
"start": "react-scripts start",
2094-
"build": "react-scripts build",
2095-
"test": "react-scripts test --env=jsdom",
2096-
"eject": "react-scripts eject"
2097-
}
2098-
}
2084+
{
2085+
"dependencies": {
2086+
"react": "latest",
2087+
"react-dom": "latest",
2088+
"react-scripts": "latest",
2089+
"toastify-js": "1.12.0"
2090+
},
2091+
"scripts": {
2092+
"start": "react-scripts start",
2093+
"build": "react-scripts build",
2094+
"test": "react-scripts test --env=jsdom",
2095+
"eject": "react-scripts eject"
2096+
}
2097+
}
20992098
```
21002099
21012100
```js src/App.js

src/content/learn/reusing-logic-with-custom-hooks.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1062,20 +1062,20 @@ export function showNotification(message, theme = 'dark') {
10621062
```
10631063
10641064
```json package.json hidden
1065-
{
1066-
"dependencies": {
1067-
"react": "latest",
1068-
"react-dom": "latest",
1069-
"react-scripts": "latest",
1070-
"toastify-js": "1.12.0"
1071-
},
1072-
"scripts": {
1073-
"start": "react-scripts start",
1074-
"build": "react-scripts build",
1075-
"test": "react-scripts test --env=jsdom",
1076-
"eject": "react-scripts eject"
1077-
}
1078-
}
1065+
{
1066+
"dependencies": {
1067+
"react": "latest",
1068+
"react-dom": "latest",
1069+
"react-scripts": "latest",
1070+
"toastify-js": "1.12.0"
1071+
},
1072+
"scripts": {
1073+
"start": "react-scripts start",
1074+
"build": "react-scripts build",
1075+
"test": "react-scripts test --env=jsdom",
1076+
"eject": "react-scripts eject"
1077+
}
1078+
}
10791079
```
10801080
10811081
```css

0 commit comments

Comments
 (0)