Skip to content
This repository was archived by the owner on Mar 13, 2024. It is now read-only.

Commit f8cd6f0

Browse files
authored
Revert "[MM-34187] - Update React version to 17* (#10739)" (#10823)
This reverts commit 8ca0eee.
1 parent 707a67f commit f8cd6f0

File tree

26 files changed

+437
-235
lines changed

26 files changed

+437
-235
lines changed

.npm-upgrade.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,27 +46,27 @@
4646
},
4747
"react": {
4848
"versions": "",
49-
"reason": "MM-45255 - React updates are handled separately from regular dependencies."
49+
"reason": "MM-34187 - React updates are handled separately from regular dependencies."
5050
},
5151
"@types/react": {
5252
"versions": "",
53-
"reason": "MM-45255 - React updates are handled separately from regular dependencies."
53+
"reason": "MM-34187 - React updates are handled separately from regular dependencies."
5454
},
5555
"react-dom": {
5656
"versions": "",
57-
"reason": "MM-45255 - React updates are handled separately from regular dependencies."
57+
"reason": "MM-34187 - React updates are handled separately from regular dependencies."
5858
},
5959
"@types/react-dom": {
6060
"versions": "",
61-
"reason": "MM-45255 - React updates are handled separately from regular dependencies."
61+
"reason": "MM-34187 - React updates are handled separately from regular dependencies."
6262
},
6363
"react-is": {
6464
"versions": "",
65-
"reason": "MM-45255 - React updates are handled separately from regular dependencies."
65+
"reason": "MM-34187 - React updates are handled separately from regular dependencies."
6666
},
6767
"@types/react-is": {
6868
"versions": "",
69-
"reason": "MM-45255 - React updates are handled separately from regular dependencies."
69+
"reason": "MM-34187 - React updates are handled separately from regular dependencies."
7070
},
7171
"react-overlays": {
7272
"versions": "",
@@ -82,7 +82,7 @@
8282
},
8383
"@hot-loader/react-dom": {
8484
"versions": "",
85-
"reason": "MM-45255 - React updates are handled separately from other dependencies."
85+
"reason": "MM-34187 - React updates are handled separately from other dependencies."
8686
},
8787
"@types/marked": {
8888
"versions": "",

components/__snapshots__/searchable_channel_list.test.jsx.snap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ exports[`components/SearchableChannelList should match init snapshot 1`] = `
1616
inputComponent={
1717
Object {
1818
"$$typeof": Symbol(react.forward_ref),
19+
"displayName": "LocalizedInput",
1920
"render": [Function],
2021
}
2122
}

components/__snapshots__/textbox.test.tsx.snap

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ exports[`components/TextBox should match snapshot with additional, optional prop
1313
inputComponent={
1414
Object {
1515
"$$typeof": Symbol(react.forward_ref),
16+
"displayName": "AutosizeTextarea",
1617
"render": [Function],
1718
}
1819
}
@@ -121,6 +122,7 @@ exports[`components/TextBox should match snapshot with required props 1`] = `
121122
inputComponent={
122123
Object {
123124
"$$typeof": Symbol(react.forward_ref),
125+
"displayName": "AutosizeTextarea",
124126
"render": [Function],
125127
}
126128
}
@@ -212,6 +214,7 @@ exports[`components/TextBox should throw error when new property is too long 1`]
212214
inputComponent={
213215
Object {
214216
"$$typeof": Symbol(react.forward_ref),
217+
"displayName": "AutosizeTextarea",
215218
"render": [Function],
216219
}
217220
}
@@ -303,6 +306,7 @@ exports[`components/TextBox should throw error when value is too long 1`] = `
303306
inputComponent={
304307
Object {
305308
"$$typeof": Symbol(react.forward_ref),
309+
"displayName": "AutosizeTextarea",
306310
"render": [Function],
307311
}
308312
}

components/admin_console/data_retention_settings/channel_list/__snapshots__/channel_list.test.tsx.snap

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ exports[`components/admin_console/data_retention_settings/channel_list should ma
8181
"$$typeof": Symbol(react.memo),
8282
"WrappedComponent": [Function],
8383
"compare": null,
84+
"displayName": "Connect(TeamFilterDropdown)",
8485
"type": [Function],
8586
},
8687
"values": Object {
@@ -228,6 +229,7 @@ exports[`components/admin_console/data_retention_settings/channel_list should ma
228229
"$$typeof": Symbol(react.memo),
229230
"WrappedComponent": [Function],
230231
"compare": null,
232+
"displayName": "Connect(TeamFilterDropdown)",
231233
"type": [Function],
232234
},
233235
"values": Object {

components/admin_console/system_roles/system_role/system_role_users/__snapshots__/system_role_users.test.tsx.snap

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ exports[`admin_console/system_role_users should match snapshot 1`] = `
118118
"$$typeof": Symbol(react.memo),
119119
"WrappedComponent": [Function],
120120
"compare": null,
121+
"displayName": "Connect(AddUsersToRoleModal)",
121122
"type": [Function],
122123
}
123124
}
@@ -520,6 +521,7 @@ exports[`admin_console/system_role_users should match snapshot with readOnly tru
520521
"$$typeof": Symbol(react.memo),
521522
"WrappedComponent": [Function],
522523
"compare": null,
524+
"displayName": "Connect(AddUsersToRoleModal)",
523525
"type": [Function],
524526
}
525527
}

components/admin_console/system_users/list/__snapshots__/system_users_list.test.tsx.snap

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ exports[`components/admin_console/system_users/list should match default snapsho
2222
"$$typeof": Symbol(react.memo),
2323
"WrappedComponent": [Function],
2424
"compare": null,
25+
"displayName": "Connect(SystemUsersDropdown)",
2526
"type": [Function],
2627
},
2728
]
@@ -44,6 +45,7 @@ exports[`components/admin_console/system_users/list should match default snapsho
4445
"$$typeof": Symbol(react.memo),
4546
"WrappedComponent": [Function],
4647
"compare": null,
48+
"displayName": "Connect(UserListRowWithError)",
4749
"type": [Function],
4850
}
4951
}
@@ -106,6 +108,7 @@ exports[`components/admin_console/system_users/list should match default snapsho
106108
"$$typeof": Symbol(react.memo),
107109
"WrappedComponent": [Function],
108110
"compare": null,
111+
"displayName": "Connect(SystemUsersDropdown)",
109112
"type": [Function],
110113
},
111114
]
@@ -226,6 +229,7 @@ exports[`components/admin_console/system_users/list should match default snapsho
226229
"$$typeof": Symbol(react.memo),
227230
"WrappedComponent": [Function],
228231
"compare": null,
232+
"displayName": "Connect(UserListRowWithError)",
229233
"type": [Function],
230234
}
231235
}
@@ -309,6 +313,7 @@ exports[`components/admin_console/system_users/list should match default snapsho
309313
"$$typeof": Symbol(react.memo),
310314
"WrappedComponent": [Function],
311315
"compare": null,
316+
"displayName": "Connect(SystemUsersDropdown)",
312317
"type": [Function],
313318
},
314319
]
@@ -454,6 +459,7 @@ exports[`components/admin_console/system_users/list should match default snapsho
454459
"$$typeof": Symbol(react.memo),
455460
"WrappedComponent": [Function],
456461
"compare": null,
462+
"displayName": "Connect(UserListRowWithError)",
457463
"type": [Function],
458464
}
459465
}

components/admin_console/team_channel_settings/channel/details/__snapshots__/channel_groups.test.tsx.snap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ exports[`admin_console/team_channel_settings/channel/ChannelGroups should match
3131
"$$typeof": Symbol(react.memo),
3232
"WrappedComponent": [Function],
3333
"compare": null,
34+
"displayName": "Connect(AddGroupsToChannelModal)",
3435
"type": [Function],
3536
}
3637
}

components/admin_console/team_channel_settings/channel/details/channel_members/__snapshots__/channel_members.test.tsx.snap

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ exports[`admin_console/team_channel_settings/channel/ChannelMembers should match
3737
"$$typeof": Symbol(react.memo),
3838
"WrappedComponent": [Function],
3939
"compare": null,
40+
"displayName": "Connect(ChannelInviteModal)",
4041
"type": [Function],
4142
}
4243
}
@@ -357,6 +358,7 @@ exports[`admin_console/team_channel_settings/channel/ChannelMembers should match
357358
"$$typeof": Symbol(react.memo),
358359
"WrappedComponent": [Function],
359360
"compare": null,
361+
"displayName": "Connect(ChannelInviteModal)",
360362
"type": [Function],
361363
}
362364
}

components/admin_console/team_channel_settings/channel/list/__snapshots__/channel_list.test.tsx.snap

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ exports[`admin_console/team_channel_settings/channel/ChannelList should match sn
114114
"$$typeof": Symbol(react.memo),
115115
"WrappedComponent": [Function],
116116
"compare": null,
117+
"displayName": "Connect(TeamFilterDropdown)",
117118
"type": [Function],
118119
},
119120
"values": Object {
@@ -316,6 +317,7 @@ exports[`admin_console/team_channel_settings/channel/ChannelList should match sn
316317
"$$typeof": Symbol(react.memo),
317318
"WrappedComponent": [Function],
318319
"compare": null,
320+
"displayName": "Connect(TeamFilterDropdown)",
319321
"type": [Function],
320322
},
321323
"values": Object {
@@ -923,6 +925,7 @@ exports[`admin_console/team_channel_settings/channel/ChannelList should match sn
923925
"$$typeof": Symbol(react.memo),
924926
"WrappedComponent": [Function],
925927
"compare": null,
928+
"displayName": "Connect(TeamFilterDropdown)",
926929
"type": [Function],
927930
},
928931
"values": Object {

components/admin_console/team_channel_settings/team/details/__snapshots__/team_groups.test.tsx.snap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ exports[`admin_console/team_channel_settings/team/TeamGroups should match snapsh
5151
"$$typeof": Symbol(react.memo),
5252
"WrappedComponent": [Function],
5353
"compare": null,
54+
"displayName": "Connect(AddGroupsToTeamModal)",
5455
"type": [Function],
5556
}
5657
}

components/admin_console/team_channel_settings/team/details/team_members/__snapshots__/team_members.test.tsx.snap

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ exports[`admin_console/team_channel_settings/team/TeamMembers should match snaps
3636
"$$typeof": Symbol(react.memo),
3737
"WrappedComponent": [Function],
3838
"compare": null,
39+
"displayName": "Connect(AddUsersToTeamModal)",
3940
"type": [Function],
4041
}
4142
}
@@ -334,6 +335,7 @@ exports[`admin_console/team_channel_settings/team/TeamMembers should match snaps
334335
"$$typeof": Symbol(react.memo),
335336
"WrappedComponent": [Function],
336337
"compare": null,
338+
"displayName": "Connect(AddUsersToTeamModal)",
337339
"type": [Function],
338340
}
339341
}

0 commit comments

Comments
 (0)