Commit b3d4060
committed
dep: replace
fixes #1009
`react-loadable` is a 7 years old package that uses a legacy
contextTypes API, removed in React 19.
The same component behavior can be achieved by using React's `lazy` and
`Suspense` functionalities instead.
This affects the `InterviewsByAccessCode` component.react-loadable by lazy and suspense
1 parent b56101a commit b3d4060
File tree
3 files changed
+7
-20
lines changed- packages/evolution-frontend
- src/components/admin/interviews
3 files changed
+7
-20
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
64 | 63 | | |
65 | 64 | | |
66 | 65 | | |
| |||
Lines changed: 6 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | | - | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
14 | 13 | | |
15 | 14 | | |
16 | 15 | | |
17 | | - | |
18 | | - | |
19 | | - | |
| 16 | + | |
20 | 17 | | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
| 18 | + | |
26 | 19 | | |
27 | 20 | | |
28 | 21 | | |
| |||
54 | 47 | | |
55 | 48 | | |
56 | 49 | | |
57 | | - | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
58 | 53 | | |
59 | 54 | | |
60 | 55 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11136 | 11136 | | |
11137 | 11137 | | |
11138 | 11138 | | |
11139 | | - | |
| 11139 | + | |
11140 | 11140 | | |
11141 | 11141 | | |
11142 | 11142 | | |
| |||
11366 | 11366 | | |
11367 | 11367 | | |
11368 | 11368 | | |
11369 | | - | |
11370 | | - | |
11371 | | - | |
11372 | | - | |
11373 | | - | |
11374 | | - | |
11375 | | - | |
11376 | 11369 | | |
11377 | 11370 | | |
11378 | 11371 | | |
| |||
0 commit comments