Commit 549f3f5
fix: remove duplicate api.init() from bootstrapStore
The websocket was being initialized before status event handlers were registered, causing the initial status message to be missed. Queue size showed 'X' instead of 0.
api.init() is already called in app.ts addApiUpdateHandlers() after registering handlers.
Amp-Thread-ID: https://ampcode.com/threads/T-019bf2db-6aa1-7210-aeed-f161486f950a
Co-authored-by: Amp <amp@ampcode.com>1 parent 3c81955 commit 549f3f5
2 files changed
+1
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
58 | 57 | | |
59 | 58 | | |
60 | 59 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | 9 | | |
18 | 10 | | |
19 | 11 | | |
| |||
86 | 78 | | |
87 | 79 | | |
88 | 80 | | |
89 | | - | |
90 | 81 | | |
91 | 82 | | |
92 | 83 | | |
| |||
0 commit comments