Commit 6eaa7b6
authored
🤖 fix: restore React DevTools by reverting to dynamic import (#707)
The refactor in a55417a changed from using dynamic import() inside
app.whenReady() to using require() at module load time. This broke
React DevTools because electron-devtools-installer accesses Electron
APIs that aren't available until the app is ready.
Reverted to the working approach from commit 1e08943 that uses
await import() inside the app.whenReady() handler.
_Generated with `mux`_1 parent 9003a8a commit 6eaa7b6
2 files changed
+7
-28
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
| 28 | + | |
55 | 29 | | |
56 | 30 | | |
57 | 31 | | |
| |||
509 | 483 | | |
510 | 484 | | |
511 | 485 | | |
512 | | - | |
| 486 | + | |
513 | 487 | | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
514 | 492 | | |
515 | 493 | | |
516 | 494 | | |
| |||
0 commit comments