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

remove all trailing whitespaces in src/content #6367

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
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
72 changes: 36 additions & 36 deletions src/content/blog/2023/03/16/introducing-react-dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -276,17 +276,17 @@ export default function PackingList() {
<section>
<h1>Sally Ride's Packing List</h1>
<ul>
<Item
isPacked={true}
name="Space suit"
<Item
isPacked={true}
name="Space suit"
/>
<Item
isPacked={true}
name="Helmet with a golden leaf"
<Item
isPacked={true}
name="Helmet with a golden leaf"
/>
<Item
isPacked={false}
name="Photo of Tam"
<Item
isPacked={false}
name="Photo of Tam"
/>
</ul>
</section>
Expand Down Expand Up @@ -314,17 +314,17 @@ export default function PackingList() {
<section>
<h1>Sally Ride's Packing List</h1>
<ul>
<Item
isPacked={true}
name="Space suit"
<Item
isPacked={true}
name="Space suit"
/>
<Item
isPacked={true}
name="Helmet with a golden leaf"
<Item
isPacked={true}
name="Helmet with a golden leaf"
/>
<Item
isPacked={false}
name="Photo of Tam"
<Item
isPacked={false}
name="Photo of Tam"
/>
</ul>
</section>
Expand Down Expand Up @@ -362,17 +362,17 @@ export default function PackingList() {
<section>
<h1>Sally Ride's Packing List</h1>
<ul>
<Item
importance={9}
name="Space suit"
<Item
importance={9}
name="Space suit"
/>
<Item
importance={0}
name="Helmet with a golden leaf"
<Item
importance={0}
name="Helmet with a golden leaf"
/>
<Item
importance={6}
name="Photo of Tam"
<Item
importance={6}
name="Photo of Tam"
/>
</ul>
</section>
Expand Down Expand Up @@ -406,17 +406,17 @@ export default function PackingList() {
<section>
<h1>Sally Ride's Packing List</h1>
<ul>
<Item
importance={9}
name="Space suit"
<Item
importance={9}
name="Space suit"
/>
<Item
importance={0}
name="Helmet with a golden leaf"
<Item
importance={0}
name="Helmet with a golden leaf"
/>
<Item
importance={6}
name="Photo of Tam"
<Item
importance={6}
name="Photo of Tam"
/>
</ul>
</section>
Expand Down
2 changes: 1 addition & 1 deletion src/content/community/conferences.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Do you know of a local React.js conference? Add it here! (Please keep the list c
## Upcoming Conferences {/*upcoming-conferences*/}

### RedwoodJS Conference 2023 {/*redwoodjs-conference-2023*/}
September 26 - 29, 2023. Grants Pass, Oregon + remote (hybrid event)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree with @rickhanlonii
Only modifying the code is what we can discuss whether it is worth it or not. Amending paragraphs like these will lead to many conflicts in the forked repos.

Please do not merge this until you have manually reviewed it and unmodified everything but the code.

September 26 - 29, 2023. Grants Pass, Oregon + remote (hybrid event)

[Website](https://www.redwoodjsconf.com/) - [Twitter](https://twitter.com/redwoodjs)

Expand Down
2 changes: 1 addition & 1 deletion src/content/community/team.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Current members of the React team are listed in alphabetical order below.
</TeamMember>

<TeamMember name="Luna Wei" permalink="luna-wei" photo="/images/team/luna-wei.jpg" github="lunaleaps" twitter="lunaleaps" title="Engineer at Meta">
Luna first learnt the fundamentals of python at the age of 6 from her father. Since then, she has been unstoppable. Luna aspires to be a gen z, and the road to success is paved with environmental advocacy, urban gardening and lots of quality time with her Voo-Doo’d (as pictured).
Luna first learnt the fundamentals of python at the age of 6 from her father. Since then, she has been unstoppable. Luna aspires to be a gen z, and the road to success is paved with environmental advocacy, urban gardening and lots of quality time with her Voo-Doo’d (as pictured).
</TeamMember>

<TeamMember name="Matt Carroll" permalink="matt-carroll" photo="/images/team/matt-carroll.png" github="mattcarrollcode" twitter="mattcarrollcode" title="Developer Advocate at Meta">
Expand Down
56 changes: 28 additions & 28 deletions src/content/learn/choosing-the-state-structure.md
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ export default function Menu() {

return (
<>
<h2>What's your travel snack?</h2>
<h2>What's your travel snack?</h2>
<ul>
{items.map((item, index) => (
<li key={item.id}>
Expand Down Expand Up @@ -806,7 +806,7 @@ export const initialTravelPlan = {
}, {
id: 48,
title: 'Green Hill',
childPlaces: []
childPlaces: []
}]
}]
};
Expand Down Expand Up @@ -884,7 +884,7 @@ export const initialTravelPlan = {
id: 2,
title: 'Africa',
childIds: [3, 4, 5, 6 , 7, 8, 9]
},
},
3: {
id: 3,
title: 'Botswana',
Expand All @@ -904,7 +904,7 @@ export const initialTravelPlan = {
id: 6,
title: 'Madagascar',
childIds: []
},
},
7: {
id: 7,
title: 'Morocco',
Expand All @@ -923,7 +923,7 @@ export const initialTravelPlan = {
10: {
id: 10,
title: 'Americas',
childIds: [11, 12, 13, 14, 15, 16, 17, 18],
childIds: [11, 12, 13, 14, 15, 16, 17, 18],
},
11: {
id: 11,
Expand All @@ -939,7 +939,7 @@ export const initialTravelPlan = {
id: 13,
title: 'Barbados',
childIds: []
},
},
14: {
id: 14,
title: 'Canada',
Expand Down Expand Up @@ -968,7 +968,7 @@ export const initialTravelPlan = {
19: {
id: 19,
title: 'Asia',
childIds: [20, 21, 22, 23, 24, 25],
childIds: [20, 21, 22, 23, 24, 25],
},
20: {
id: 20,
Expand Down Expand Up @@ -1003,7 +1003,7 @@ export const initialTravelPlan = {
26: {
id: 26,
title: 'Europe',
childIds: [27, 28, 29, 30, 31, 32, 33],
childIds: [27, 28, 29, 30, 31, 32, 33],
},
27: {
id: 27,
Expand Down Expand Up @@ -1043,7 +1043,7 @@ export const initialTravelPlan = {
34: {
id: 34,
title: 'Oceania',
childIds: [35, 36, 37, 38, 39, 40, 41],
childIds: [35, 36, 37, 38, 39, 40, 41],
},
35: {
id: 35,
Expand Down Expand Up @@ -1220,7 +1220,7 @@ export const initialTravelPlan = {
id: 2,
title: 'Africa',
childIds: [3, 4, 5, 6 , 7, 8, 9]
},
},
3: {
id: 3,
title: 'Botswana',
Expand All @@ -1240,7 +1240,7 @@ export const initialTravelPlan = {
id: 6,
title: 'Madagascar',
childIds: []
},
},
7: {
id: 7,
title: 'Morocco',
Expand All @@ -1259,7 +1259,7 @@ export const initialTravelPlan = {
10: {
id: 10,
title: 'Americas',
childIds: [11, 12, 13, 14, 15, 16, 17, 18],
childIds: [11, 12, 13, 14, 15, 16, 17, 18],
},
11: {
id: 11,
Expand All @@ -1275,7 +1275,7 @@ export const initialTravelPlan = {
id: 13,
title: 'Barbados',
childIds: []
},
},
14: {
id: 14,
title: 'Canada',
Expand Down Expand Up @@ -1304,7 +1304,7 @@ export const initialTravelPlan = {
19: {
id: 19,
title: 'Asia',
childIds: [20, 21, 22, 23, 24, 25],
childIds: [20, 21, 22, 23, 24, 25],
},
20: {
id: 20,
Expand Down Expand Up @@ -1339,7 +1339,7 @@ export const initialTravelPlan = {
26: {
id: 26,
title: 'Europe',
childIds: [27, 28, 29, 30, 31, 32, 33],
childIds: [27, 28, 29, 30, 31, 32, 33],
},
27: {
id: 27,
Expand Down Expand Up @@ -1379,7 +1379,7 @@ export const initialTravelPlan = {
34: {
id: 34,
title: 'Oceania',
childIds: [35, 36, 37, 38, 39, 40, 41],
childIds: [35, 36, 37, 38, 39, 40, 41],
},
35: {
id: 35,
Expand Down Expand Up @@ -1559,7 +1559,7 @@ export const initialTravelPlan = {
id: 2,
title: 'Africa',
childIds: [3, 4, 5, 6 , 7, 8, 9]
},
},
3: {
id: 3,
title: 'Botswana',
Expand All @@ -1579,7 +1579,7 @@ export const initialTravelPlan = {
id: 6,
title: 'Madagascar',
childIds: []
},
},
7: {
id: 7,
title: 'Morocco',
Expand All @@ -1598,7 +1598,7 @@ export const initialTravelPlan = {
10: {
id: 10,
title: 'Americas',
childIds: [11, 12, 13, 14, 15, 16, 17, 18],
childIds: [11, 12, 13, 14, 15, 16, 17, 18],
},
11: {
id: 11,
Expand All @@ -1614,7 +1614,7 @@ export const initialTravelPlan = {
id: 13,
title: 'Barbados',
childIds: []
},
},
14: {
id: 14,
title: 'Canada',
Expand Down Expand Up @@ -1643,7 +1643,7 @@ export const initialTravelPlan = {
19: {
id: 19,
title: 'Asia',
childIds: [20, 21, 22, 23, 24, 25,],
childIds: [20, 21, 22, 23, 24, 25,],
},
20: {
id: 20,
Expand Down Expand Up @@ -1678,7 +1678,7 @@ export const initialTravelPlan = {
26: {
id: 26,
title: 'Europe',
childIds: [27, 28, 29, 30, 31, 32, 33],
childIds: [27, 28, 29, 30, 31, 32, 33],
},
27: {
id: 27,
Expand Down Expand Up @@ -1718,7 +1718,7 @@ export const initialTravelPlan = {
34: {
id: 34,
title: 'Oceania',
childIds: [35, 36, 37, 38, 39, 40,, 41],
childIds: [35, 36, 37, 38, 39, 40,, 41],
},
35: {
id: 35,
Expand Down Expand Up @@ -1823,7 +1823,7 @@ Sometimes, you can also reduce state nesting by moving some of the nested state

<Recap>

* If two state variables always update together, consider merging them into one.
* If two state variables always update together, consider merging them into one.
* Choose your state variables carefully to avoid creating "impossible" states.
* Structure your state in a way that reduces the chances that you'll make a mistake updating it.
* Avoid redundant and duplicate state so that you don't need to keep it in sync.
Expand Down Expand Up @@ -2062,7 +2062,7 @@ export default function TravelPlan() {
}

return (
<>
<>
<AddItem
onAddItem={handleAddItem}
/>
Expand Down Expand Up @@ -2197,7 +2197,7 @@ export default function TravelPlan() {
}

return (
<>
<>
<AddItem
onAddItem={handleAddItem}
/>
Expand Down Expand Up @@ -2350,7 +2350,7 @@ export default function Letter({
isHighlighted ? 'highlighted' : ''
}
onFocus={() => {
onHover(letter);
onHover(letter);
}}
onPointerMove={() => {
onHover(letter);
Expand Down Expand Up @@ -2459,7 +2459,7 @@ export default function Letter({
isHighlighted ? 'highlighted' : ''
}
onFocus={() => {
onHover(letter.id);
onHover(letter.id);
}}
onPointerMove={() => {
onHover(letter.id);
Expand Down
Loading
Loading