Unverified Commit f538232f authored by Zoe-Bot's avatar Zoe-Bot Committed by GitHub

docs(fix): example text unescaped entities (#57255)



Fix bug in example code. Loading with `'` can not be built with the default ESLint rules: 
```ssh
./src/app/reviews/loading.tsx
4:15  Error: `'` can be escaped with `'`, `‘`, `'`, `’`.  react/no-unescaped-entities
4:26  Error: `'` can be escaped with `'`, `‘`, `'`, `’`.  react/no-unescaped-entities
```
parent 307bdcd0
......@@ -10,14 +10,14 @@ By default, this file is a [Server Component](/docs/app/building-your-applicatio
```tsx filename="app/feed/loading.tsx" switcher
export default function Loading() {
// Or a custom loading skeleton component
return <p>'Loading...'</p>
return <p>Loading...</p>
}
```
```jsx filename="app/feed/loading.js" switcher
export default function Loading() {
// Or a custom loading skeleton component
return <p>'Loading...'</p>
return <p>Loading...</p>
}
```
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment