@immich/ui 0.23.2 → 0.23.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10,7 +10,8 @@ class ModalManager {
10
10
  const deferred = new Promise((resolve) => {
11
11
  onClose = async (...args) => {
12
12
  await unmount(modal);
13
- resolve(args?.[0]);
13
+ // make sure bits-ui clean up finishes before resolving
14
+ setTimeout(() => resolve(args?.[0]), 0);
14
15
  };
15
16
  modal = mount(Component, {
16
17
  target: document.body,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@immich/ui",
3
- "version": "0.23.2",
3
+ "version": "0.23.3",
4
4
  "license": "GNU Affero General Public License version 3",
5
5
  "scripts": {
6
6
  "create": "node scripts/create.js",