- Notifications
You must be signed in to change notification settings - Fork907
Commite40ea25
authored
fix: fix double ws connection for notifications (#17044)
**Issue:**The UI was creating two web socket connections to receive notificationupdates causing duplicated values.**Cause:**We were rendering the notification container twice. One for the desktopnav and another for mobile.**Fix:**Only use one notification container for the nav.**Improvements for later:**I think would be better at some point to move the networking and datalogic into a provider but it would require testing and some tiny rework.Since the actual fix works well, and it is not complex or difficult, Ithink it is ok to stay with it until we require to load notifications inmore places.1 parent1593861 commite40ea25
1 file changed
+30
-34
lines changedLines changed: 30 additions & 34 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
55 | 55 |
| |
56 | 56 |
| |
57 | 57 |
| |
58 |
| - | |
| 58 | + | |
59 | 59 |
| |
60 |
| - | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
61 | 63 |
| |
62 | 64 |
| |
63 |
| - | |
64 |
| - | |
65 |
| - | |
66 |
| - | |
67 |
| - | |
68 |
| - | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
69 | 73 |
| |
70 | 74 |
| |
71 | 75 |
| |
| |||
78 | 82 |
| |
79 | 83 |
| |
80 | 84 |
| |
81 |
| - | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
82 | 98 |
| |
83 |
| - | |
84 | 99 |
| |
85 | 100 |
| |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
86 | 105 |
| |
87 |
| - | |
88 |
| - | |
89 |
| - | |
90 |
| - | |
91 |
| - | |
92 |
| - | |
93 |
| - | |
94 |
| - | |
95 |
| - | |
96 |
| - | |
97 |
| - | |
98 |
| - | |
99 |
| - | |
100 |
| - | |
101 |
| - | |
102 |
| - | |
103 |
| - | |
104 |
| - | |
105 |
| - | |
106 |
| - | |
107 |
| - | |
108 |
| - | |
109 |
| - | |
110 |
| - | |
| 106 | + | |
111 | 107 |
| |
112 | 108 |
| |
113 | 109 |
| |
|
0 commit comments
Comments
(0)