mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-23 20:23:08 +00:00
fix: remove Hong Kong from choosing-the-state-structure (#5957)
* fix: remove Hong Kong from choosing-the-state-structure closes Improper examples #5955 * change boolean style for rendering
This commit is contained in:
@@ -696,119 +696,115 @@ export const initialTravelPlan = {
|
||||
childPlaces: []
|
||||
}, {
|
||||
id: 21,
|
||||
title: 'Hong Kong',
|
||||
childPlaces: []
|
||||
}, {
|
||||
id: 22,
|
||||
title: 'India',
|
||||
childPlaces: []
|
||||
}, {
|
||||
id: 23,
|
||||
id: 22,
|
||||
title: 'Singapore',
|
||||
childPlaces: []
|
||||
}, {
|
||||
id: 24,
|
||||
id: 23,
|
||||
title: 'South Korea',
|
||||
childPlaces: []
|
||||
}, {
|
||||
id: 25,
|
||||
id: 24,
|
||||
title: 'Thailand',
|
||||
childPlaces: []
|
||||
}, {
|
||||
id: 26,
|
||||
id: 25,
|
||||
title: 'Vietnam',
|
||||
childPlaces: []
|
||||
}]
|
||||
}, {
|
||||
id: 27,
|
||||
id: 26,
|
||||
title: 'Europe',
|
||||
childPlaces: [{
|
||||
id: 28,
|
||||
id: 27,
|
||||
title: 'Croatia',
|
||||
childPlaces: [],
|
||||
}, {
|
||||
id: 29,
|
||||
id: 28,
|
||||
title: 'France',
|
||||
childPlaces: [],
|
||||
}, {
|
||||
id: 30,
|
||||
id: 29,
|
||||
title: 'Germany',
|
||||
childPlaces: [],
|
||||
}, {
|
||||
id: 31,
|
||||
id: 30,
|
||||
title: 'Italy',
|
||||
childPlaces: [],
|
||||
}, {
|
||||
id: 32,
|
||||
id: 31,
|
||||
title: 'Portugal',
|
||||
childPlaces: [],
|
||||
}, {
|
||||
id: 33,
|
||||
id: 32,
|
||||
title: 'Spain',
|
||||
childPlaces: [],
|
||||
}, {
|
||||
id: 34,
|
||||
id: 33,
|
||||
title: 'Turkey',
|
||||
childPlaces: [],
|
||||
}]
|
||||
}, {
|
||||
id: 35,
|
||||
id: 34,
|
||||
title: 'Oceania',
|
||||
childPlaces: [{
|
||||
id: 36,
|
||||
id: 35,
|
||||
title: 'Australia',
|
||||
childPlaces: [],
|
||||
}, {
|
||||
id: 37,
|
||||
id: 36,
|
||||
title: 'Bora Bora (French Polynesia)',
|
||||
childPlaces: [],
|
||||
}, {
|
||||
id: 38,
|
||||
id: 37,
|
||||
title: 'Easter Island (Chile)',
|
||||
childPlaces: [],
|
||||
}, {
|
||||
id: 39,
|
||||
id: 38,
|
||||
title: 'Fiji',
|
||||
childPlaces: [],
|
||||
}, {
|
||||
id: 40,
|
||||
id: 39,
|
||||
title: 'Hawaii (the USA)',
|
||||
childPlaces: [],
|
||||
}, {
|
||||
id: 41,
|
||||
id: 40,
|
||||
title: 'New Zealand',
|
||||
childPlaces: [],
|
||||
}, {
|
||||
id: 42,
|
||||
id: 41,
|
||||
title: 'Vanuatu',
|
||||
childPlaces: [],
|
||||
}]
|
||||
}]
|
||||
}, {
|
||||
id: 43,
|
||||
id: 42,
|
||||
title: 'Moon',
|
||||
childPlaces: [{
|
||||
id: 44,
|
||||
id: 43,
|
||||
title: 'Rheita',
|
||||
childPlaces: []
|
||||
}, {
|
||||
id: 45,
|
||||
id: 44,
|
||||
title: 'Piccolomini',
|
||||
childPlaces: []
|
||||
}, {
|
||||
id: 46,
|
||||
id: 45,
|
||||
title: 'Tycho',
|
||||
childPlaces: []
|
||||
}]
|
||||
}, {
|
||||
id: 47,
|
||||
id: 46,
|
||||
title: 'Mars',
|
||||
childPlaces: [{
|
||||
id: 48,
|
||||
id: 47,
|
||||
title: 'Corn Town',
|
||||
childPlaces: []
|
||||
}, {
|
||||
id: 49,
|
||||
id: 48,
|
||||
title: 'Green Hill',
|
||||
childPlaces: []
|
||||
}]
|
||||
@@ -877,12 +873,12 @@ export const initialTravelPlan = {
|
||||
0: {
|
||||
id: 0,
|
||||
title: '(Root)',
|
||||
childIds: [1, 43, 47],
|
||||
childIds: [1, 42, 46],
|
||||
},
|
||||
1: {
|
||||
id: 1,
|
||||
title: 'Earth',
|
||||
childIds: [2, 10, 19, 27, 35]
|
||||
childIds: [2, 10, 19, 26, 34]
|
||||
},
|
||||
2: {
|
||||
id: 2,
|
||||
@@ -972,7 +968,7 @@ export const initialTravelPlan = {
|
||||
19: {
|
||||
id: 19,
|
||||
title: 'Asia',
|
||||
childIds: [20, 21, 22, 23, 24, 25, 26],
|
||||
childIds: [20, 21, 22, 23, 24, 25],
|
||||
},
|
||||
20: {
|
||||
id: 20,
|
||||
@@ -981,146 +977,141 @@ export const initialTravelPlan = {
|
||||
},
|
||||
21: {
|
||||
id: 21,
|
||||
title: 'Hong Kong',
|
||||
title: 'India',
|
||||
childIds: []
|
||||
},
|
||||
22: {
|
||||
id: 22,
|
||||
title: 'India',
|
||||
title: 'Singapore',
|
||||
childIds: []
|
||||
},
|
||||
23: {
|
||||
id: 23,
|
||||
title: 'Singapore',
|
||||
title: 'South Korea',
|
||||
childIds: []
|
||||
},
|
||||
24: {
|
||||
id: 24,
|
||||
title: 'South Korea',
|
||||
title: 'Thailand',
|
||||
childIds: []
|
||||
},
|
||||
25: {
|
||||
id: 25,
|
||||
title: 'Thailand',
|
||||
title: 'Vietnam',
|
||||
childIds: []
|
||||
},
|
||||
26: {
|
||||
id: 26,
|
||||
title: 'Vietnam',
|
||||
childIds: []
|
||||
title: 'Europe',
|
||||
childIds: [27, 28, 29, 30, 31, 32, 33],
|
||||
},
|
||||
27: {
|
||||
id: 27,
|
||||
title: 'Europe',
|
||||
childIds: [28, 29, 30, 31, 32, 33, 34],
|
||||
title: 'Croatia',
|
||||
childIds: []
|
||||
},
|
||||
28: {
|
||||
id: 28,
|
||||
title: 'Croatia',
|
||||
title: 'France',
|
||||
childIds: []
|
||||
},
|
||||
29: {
|
||||
id: 29,
|
||||
title: 'France',
|
||||
title: 'Germany',
|
||||
childIds: []
|
||||
},
|
||||
30: {
|
||||
id: 30,
|
||||
title: 'Germany',
|
||||
title: 'Italy',
|
||||
childIds: []
|
||||
},
|
||||
31: {
|
||||
id: 31,
|
||||
title: 'Italy',
|
||||
title: 'Portugal',
|
||||
childIds: []
|
||||
},
|
||||
32: {
|
||||
id: 32,
|
||||
title: 'Portugal',
|
||||
title: 'Spain',
|
||||
childIds: []
|
||||
},
|
||||
33: {
|
||||
id: 33,
|
||||
title: 'Spain',
|
||||
title: 'Turkey',
|
||||
childIds: []
|
||||
},
|
||||
34: {
|
||||
id: 34,
|
||||
title: 'Turkey',
|
||||
childIds: []
|
||||
title: 'Oceania',
|
||||
childIds: [35, 36, 37, 38, 39, 40, 41],
|
||||
},
|
||||
35: {
|
||||
id: 35,
|
||||
title: 'Oceania',
|
||||
childIds: [36, 37, 38, 39, 40, 41, 42],
|
||||
title: 'Australia',
|
||||
childIds: []
|
||||
},
|
||||
36: {
|
||||
id: 36,
|
||||
title: 'Australia',
|
||||
title: 'Bora Bora (French Polynesia)',
|
||||
childIds: []
|
||||
},
|
||||
37: {
|
||||
id: 37,
|
||||
title: 'Bora Bora (French Polynesia)',
|
||||
title: 'Easter Island (Chile)',
|
||||
childIds: []
|
||||
},
|
||||
38: {
|
||||
id: 38,
|
||||
title: 'Easter Island (Chile)',
|
||||
childIds: []
|
||||
},
|
||||
39: {
|
||||
id: 39,
|
||||
title: 'Fiji',
|
||||
childIds: []
|
||||
},
|
||||
40: {
|
||||
39: {
|
||||
id: 40,
|
||||
title: 'Hawaii (the USA)',
|
||||
childIds: []
|
||||
},
|
||||
40: {
|
||||
id: 40,
|
||||
title: 'New Zealand',
|
||||
childIds: []
|
||||
},
|
||||
41: {
|
||||
id: 41,
|
||||
title: 'New Zealand',
|
||||
title: 'Vanuatu',
|
||||
childIds: []
|
||||
},
|
||||
42: {
|
||||
id: 42,
|
||||
title: 'Vanuatu',
|
||||
childIds: []
|
||||
title: 'Moon',
|
||||
childIds: [43, 44, 45]
|
||||
},
|
||||
43: {
|
||||
id: 43,
|
||||
title: 'Moon',
|
||||
childIds: [44, 45, 46]
|
||||
title: 'Rheita',
|
||||
childIds: []
|
||||
},
|
||||
44: {
|
||||
id: 44,
|
||||
title: 'Rheita',
|
||||
title: 'Piccolomini',
|
||||
childIds: []
|
||||
},
|
||||
45: {
|
||||
id: 45,
|
||||
title: 'Piccolomini',
|
||||
title: 'Tycho',
|
||||
childIds: []
|
||||
},
|
||||
46: {
|
||||
id: 46,
|
||||
title: 'Tycho',
|
||||
childIds: []
|
||||
title: 'Mars',
|
||||
childIds: [47, 48]
|
||||
},
|
||||
47: {
|
||||
id: 47,
|
||||
title: 'Mars',
|
||||
childIds: [48, 49]
|
||||
},
|
||||
48: {
|
||||
id: 48,
|
||||
title: 'Corn Town',
|
||||
childIds: []
|
||||
},
|
||||
49: {
|
||||
id: 49,
|
||||
48: {
|
||||
id: 48,
|
||||
title: 'Green Hill',
|
||||
childIds: []
|
||||
}
|
||||
@@ -1218,12 +1209,12 @@ export const initialTravelPlan = {
|
||||
0: {
|
||||
id: 0,
|
||||
title: '(Root)',
|
||||
childIds: [1, 43, 47],
|
||||
childIds: [1, 42, 46],
|
||||
},
|
||||
1: {
|
||||
id: 1,
|
||||
title: 'Earth',
|
||||
childIds: [2, 10, 19, 27, 35]
|
||||
childIds: [2, 10, 19, 26, 34]
|
||||
},
|
||||
2: {
|
||||
id: 2,
|
||||
@@ -1313,7 +1304,7 @@ export const initialTravelPlan = {
|
||||
19: {
|
||||
id: 19,
|
||||
title: 'Asia',
|
||||
childIds: [20, 21, 22, 23, 24, 25, 26],
|
||||
childIds: [20, 21, 22, 23, 24, 25],
|
||||
},
|
||||
20: {
|
||||
id: 20,
|
||||
@@ -1322,146 +1313,141 @@ export const initialTravelPlan = {
|
||||
},
|
||||
21: {
|
||||
id: 21,
|
||||
title: 'Hong Kong',
|
||||
title: 'India',
|
||||
childIds: []
|
||||
},
|
||||
22: {
|
||||
id: 22,
|
||||
title: 'India',
|
||||
title: 'Singapore',
|
||||
childIds: []
|
||||
},
|
||||
23: {
|
||||
id: 23,
|
||||
title: 'Singapore',
|
||||
title: 'South Korea',
|
||||
childIds: []
|
||||
},
|
||||
24: {
|
||||
id: 24,
|
||||
title: 'South Korea',
|
||||
title: 'Thailand',
|
||||
childIds: []
|
||||
},
|
||||
25: {
|
||||
id: 25,
|
||||
title: 'Thailand',
|
||||
title: 'Vietnam',
|
||||
childIds: []
|
||||
},
|
||||
26: {
|
||||
id: 26,
|
||||
title: 'Vietnam',
|
||||
childIds: []
|
||||
title: 'Europe',
|
||||
childIds: [27, 28, 29, 30, 31, 32, 33],
|
||||
},
|
||||
27: {
|
||||
id: 27,
|
||||
title: 'Europe',
|
||||
childIds: [28, 29, 30, 31, 32, 33, 34],
|
||||
title: 'Croatia',
|
||||
childIds: []
|
||||
},
|
||||
28: {
|
||||
id: 28,
|
||||
title: 'Croatia',
|
||||
title: 'France',
|
||||
childIds: []
|
||||
},
|
||||
29: {
|
||||
id: 29,
|
||||
title: 'France',
|
||||
title: 'Germany',
|
||||
childIds: []
|
||||
},
|
||||
30: {
|
||||
id: 30,
|
||||
title: 'Germany',
|
||||
title: 'Italy',
|
||||
childIds: []
|
||||
},
|
||||
31: {
|
||||
id: 31,
|
||||
title: 'Italy',
|
||||
title: 'Portugal',
|
||||
childIds: []
|
||||
},
|
||||
32: {
|
||||
id: 32,
|
||||
title: 'Portugal',
|
||||
title: 'Spain',
|
||||
childIds: []
|
||||
},
|
||||
33: {
|
||||
id: 33,
|
||||
title: 'Spain',
|
||||
title: 'Turkey',
|
||||
childIds: []
|
||||
},
|
||||
34: {
|
||||
id: 34,
|
||||
title: 'Turkey',
|
||||
childIds: []
|
||||
title: 'Oceania',
|
||||
childIds: [35, 36, 37, 38, 39, 40, 41],
|
||||
},
|
||||
35: {
|
||||
id: 35,
|
||||
title: 'Oceania',
|
||||
childIds: [36, 37, 38, 39, 40, 41,, 42],
|
||||
title: 'Australia',
|
||||
childIds: []
|
||||
},
|
||||
36: {
|
||||
id: 36,
|
||||
title: 'Australia',
|
||||
title: 'Bora Bora (French Polynesia)',
|
||||
childIds: []
|
||||
},
|
||||
37: {
|
||||
id: 37,
|
||||
title: 'Bora Bora (French Polynesia)',
|
||||
title: 'Easter Island (Chile)',
|
||||
childIds: []
|
||||
},
|
||||
38: {
|
||||
id: 38,
|
||||
title: 'Easter Island (Chile)',
|
||||
title: 'Fiji',
|
||||
childIds: []
|
||||
},
|
||||
39: {
|
||||
id: 39,
|
||||
title: 'Fiji',
|
||||
title: 'Hawaii (the USA)',
|
||||
childIds: []
|
||||
},
|
||||
40: {
|
||||
id: 40,
|
||||
title: 'Hawaii (the USA)',
|
||||
title: 'New Zealand',
|
||||
childIds: []
|
||||
},
|
||||
41: {
|
||||
id: 41,
|
||||
title: 'New Zealand',
|
||||
title: 'Vanuatu',
|
||||
childIds: []
|
||||
},
|
||||
42: {
|
||||
id: 42,
|
||||
title: 'Vanuatu',
|
||||
childIds: []
|
||||
title: 'Moon',
|
||||
childIds: [43, 44, 45]
|
||||
},
|
||||
43: {
|
||||
id: 43,
|
||||
title: 'Moon',
|
||||
childIds: [44, 45, 46]
|
||||
title: 'Rheita',
|
||||
childIds: []
|
||||
},
|
||||
44: {
|
||||
id: 44,
|
||||
title: 'Rheita',
|
||||
title: 'Piccolomini',
|
||||
childIds: []
|
||||
},
|
||||
45: {
|
||||
id: 45,
|
||||
title: 'Piccolomini',
|
||||
title: 'Tycho',
|
||||
childIds: []
|
||||
},
|
||||
46: {
|
||||
id: 46,
|
||||
title: 'Tycho',
|
||||
childIds: []
|
||||
title: 'Mars',
|
||||
childIds: [47, 48]
|
||||
},
|
||||
47: {
|
||||
id: 47,
|
||||
title: 'Mars',
|
||||
childIds: [48, 49]
|
||||
},
|
||||
48: {
|
||||
id: 48,
|
||||
title: 'Corn Town',
|
||||
childIds: []
|
||||
},
|
||||
49: {
|
||||
id: 49,
|
||||
48: {
|
||||
id: 48,
|
||||
title: 'Green Hill',
|
||||
childIds: []
|
||||
}
|
||||
@@ -1562,12 +1548,12 @@ export const initialTravelPlan = {
|
||||
0: {
|
||||
id: 0,
|
||||
title: '(Root)',
|
||||
childIds: [1, 43, 47],
|
||||
childIds: [1, 42, 46],
|
||||
},
|
||||
1: {
|
||||
id: 1,
|
||||
title: 'Earth',
|
||||
childIds: [2, 10, 19, 27, 35]
|
||||
childIds: [2, 10, 19, 26, 34]
|
||||
},
|
||||
2: {
|
||||
id: 2,
|
||||
@@ -1657,7 +1643,7 @@ export const initialTravelPlan = {
|
||||
19: {
|
||||
id: 19,
|
||||
title: 'Asia',
|
||||
childIds: [20, 21, 22, 23, 24, 25, 26],
|
||||
childIds: [20, 21, 22, 23, 24, 25,],
|
||||
},
|
||||
20: {
|
||||
id: 20,
|
||||
@@ -1666,146 +1652,141 @@ export const initialTravelPlan = {
|
||||
},
|
||||
21: {
|
||||
id: 21,
|
||||
title: 'Hong Kong',
|
||||
title: 'India',
|
||||
childIds: []
|
||||
},
|
||||
22: {
|
||||
id: 22,
|
||||
title: 'India',
|
||||
title: 'Singapore',
|
||||
childIds: []
|
||||
},
|
||||
23: {
|
||||
id: 23,
|
||||
title: 'Singapore',
|
||||
title: 'South Korea',
|
||||
childIds: []
|
||||
},
|
||||
24: {
|
||||
id: 24,
|
||||
title: 'South Korea',
|
||||
title: 'Thailand',
|
||||
childIds: []
|
||||
},
|
||||
25: {
|
||||
id: 25,
|
||||
title: 'Thailand',
|
||||
title: 'Vietnam',
|
||||
childIds: []
|
||||
},
|
||||
26: {
|
||||
id: 26,
|
||||
title: 'Vietnam',
|
||||
childIds: []
|
||||
title: 'Europe',
|
||||
childIds: [27, 28, 29, 30, 31, 32, 33],
|
||||
},
|
||||
27: {
|
||||
id: 27,
|
||||
title: 'Europe',
|
||||
childIds: [28, 29, 30, 31, 32, 33, 34],
|
||||
title: 'Croatia',
|
||||
childIds: []
|
||||
},
|
||||
28: {
|
||||
id: 28,
|
||||
title: 'Croatia',
|
||||
title: 'France',
|
||||
childIds: []
|
||||
},
|
||||
29: {
|
||||
id: 29,
|
||||
title: 'France',
|
||||
title: 'Germany',
|
||||
childIds: []
|
||||
},
|
||||
30: {
|
||||
id: 30,
|
||||
title: 'Germany',
|
||||
title: 'Italy',
|
||||
childIds: []
|
||||
},
|
||||
31: {
|
||||
id: 31,
|
||||
title: 'Italy',
|
||||
title: 'Portugal',
|
||||
childIds: []
|
||||
},
|
||||
32: {
|
||||
id: 32,
|
||||
title: 'Portugal',
|
||||
title: 'Spain',
|
||||
childIds: []
|
||||
},
|
||||
33: {
|
||||
id: 33,
|
||||
title: 'Spain',
|
||||
title: 'Turkey',
|
||||
childIds: []
|
||||
},
|
||||
34: {
|
||||
id: 34,
|
||||
title: 'Turkey',
|
||||
childIds: []
|
||||
title: 'Oceania',
|
||||
childIds: [35, 36, 37, 38, 39, 40,, 41],
|
||||
},
|
||||
35: {
|
||||
id: 35,
|
||||
title: 'Oceania',
|
||||
childIds: [36, 37, 38, 39, 40, 41,, 42],
|
||||
title: 'Australia',
|
||||
childIds: []
|
||||
},
|
||||
36: {
|
||||
id: 36,
|
||||
title: 'Australia',
|
||||
title: 'Bora Bora (French Polynesia)',
|
||||
childIds: []
|
||||
},
|
||||
37: {
|
||||
id: 37,
|
||||
title: 'Bora Bora (French Polynesia)',
|
||||
title: 'Easter Island (Chile)',
|
||||
childIds: []
|
||||
},
|
||||
38: {
|
||||
id: 38,
|
||||
title: 'Easter Island (Chile)',
|
||||
title: 'Fiji',
|
||||
childIds: []
|
||||
},
|
||||
39: {
|
||||
id: 39,
|
||||
title: 'Fiji',
|
||||
title: 'Hawaii (the USA)',
|
||||
childIds: []
|
||||
},
|
||||
40: {
|
||||
id: 40,
|
||||
title: 'Hawaii (the USA)',
|
||||
title: 'New Zealand',
|
||||
childIds: []
|
||||
},
|
||||
41: {
|
||||
id: 41,
|
||||
title: 'New Zealand',
|
||||
title: 'Vanuatu',
|
||||
childIds: []
|
||||
},
|
||||
42: {
|
||||
id: 42,
|
||||
title: 'Vanuatu',
|
||||
childIds: []
|
||||
title: 'Moon',
|
||||
childIds: [43, 44, 45]
|
||||
},
|
||||
43: {
|
||||
id: 43,
|
||||
title: 'Moon',
|
||||
childIds: [44, 45, 46]
|
||||
title: 'Rheita',
|
||||
childIds: []
|
||||
},
|
||||
44: {
|
||||
id: 44,
|
||||
title: 'Rheita',
|
||||
title: 'Piccolomini',
|
||||
childIds: []
|
||||
},
|
||||
45: {
|
||||
id: 45,
|
||||
title: 'Piccolomini',
|
||||
title: 'Tycho',
|
||||
childIds: []
|
||||
},
|
||||
46: {
|
||||
id: 46,
|
||||
title: 'Tycho',
|
||||
childIds: []
|
||||
title: 'Mars',
|
||||
childIds: [47, 48]
|
||||
},
|
||||
47: {
|
||||
id: 47,
|
||||
title: 'Mars',
|
||||
childIds: [48, 49]
|
||||
},
|
||||
48: {
|
||||
id: 48,
|
||||
title: 'Corn Town',
|
||||
childIds: []
|
||||
},
|
||||
49: {
|
||||
id: 49,
|
||||
48: {
|
||||
id: 48,
|
||||
title: 'Green Hill',
|
||||
childIds: []
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user