@comergehq/studio 0.1.22 → 0.1.23

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.
package/dist/index.js CHANGED
@@ -2484,18 +2484,15 @@ function Bubble({
2484
2484
  [height, rotation, scale, size, translateX, translateY]
2485
2485
  );
2486
2486
  const animateOut = (0, import_react.useCallback)(() => {
2487
+ var _a;
2487
2488
  if (isAnimatingOut.current) return;
2488
2489
  isAnimatingOut.current = true;
2489
2490
  try {
2490
2491
  void Haptics.impactAsync(Haptics.ImpactFeedbackStyle.Medium);
2491
2492
  } catch {
2492
2493
  }
2493
- animateToHidden({
2494
- onFinish: () => {
2495
- var _a;
2496
- (_a = onPressRef.current) == null ? void 0 : _a.call(onPressRef);
2497
- }
2498
- });
2494
+ (_a = onPressRef.current) == null ? void 0 : _a.call(onPressRef);
2495
+ animateToHidden();
2499
2496
  }, [animateToHidden]);
2500
2497
  (0, import_react.useEffect)(() => {
2501
2498
  if (isLoading) {