Skip to content

Commit c000cda

Browse files
committed
fix wrong quotes around inline codes
1 parent bbb08a5 commit c000cda

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/content/learn/state-a-components-memory.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ button {
333333

334334
### Meet your first Hook {/*meet-your-first-hook*/}
335335

336-
In React, `useState`, as well as any other function starting with "`use`", is called a Hook.
336+
In React, `useState`, as well as any other function starting with `use`, is called a Hook.
337337

338338
*Hooks* are special functions that are only available while React is [rendering](/learn/render-and-commit#step-1-trigger-a-render) (which we'll get into in more detail on the next page). They let you "hook into" different React features.
339339

src/content/reference/react/useLayoutEffect.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -712,7 +712,7 @@ Rendering in two passes and blocking the browser hurts performance. Try to avoid
712712
713713
## Troubleshooting {/*troubleshooting*/}
714714
715-
### I'm getting an error: "`useLayoutEffect` does nothing on the server" {/*im-getting-an-error-uselayouteffect-does-nothing-on-the-server*/}
715+
### I'm getting an error: `useLayoutEffect` does nothing on the server {/*im-getting-an-error-uselayouteffect-does-nothing-on-the-server*/}
716716
717717
The purpose of `useLayoutEffect` is to let your component [use layout information for rendering:](#measuring-layout-before-the-browser-repaints-the-screen)
718718

0 commit comments

Comments
 (0)