@nation-a/ui 0.16.2 → 0.16.4

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
@@ -19207,7 +19207,7 @@ const BottomSheet = forwardRef(
19207
19207
  ...props
19208
19208
  }, ref) => {
19209
19209
  let snapPercentPoints = null;
19210
- if (snapPercent.min && snapPercent.max) {
19210
+ if (snapPercent && snapPercent.max) {
19211
19211
  snapPercentPoints = [snapPercent.max * window.innerHeight, snapPercent.min * window.innerHeight];
19212
19212
  }
19213
19213
  const snapPoints = snapPercentPoints ? snapPercentPoints : maxSnapPoint ? [maxSnapPoint] : void 0;