We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de5a167 commit e405be9Copy full SHA for e405be9
package/src/contexts/overlayContext/OverlayProvider.tsx
@@ -178,11 +178,11 @@ const finalizeCloseOverlay = () => overlayStore.partialNext(DefaultState);
178
179
export const overlayStore = new StateStore<OverlayState>(DefaultState);
180
181
-overlayStore.subscribeWithSelector(s, ({ active }) => {
+overlayStore.subscribeWithSelector(s, async ({ active }) => {
182
if (!active) {
183
// flush the queue
184
for (const action of actionQueue) {
185
- action();
+ await action();
186
}
187
188
actionQueue = [];
0 commit comments