Skip to content

Commit

Permalink
task(HTL-112172): Remove old prop (#1540)
Browse files Browse the repository at this point in the history
* task(HTL-112172): Remove old prop

* task(HTL-112172): Remove old prop
  • Loading branch information
coolestKev authored Dec 18, 2024
1 parent fa992c0 commit 70db4f4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "pcln-design-system",
"comment": "Remove old snap handler logic",
"type": "patch"
}
],
"packageName": "pcln-design-system"
}
1 change: 0 additions & 1 deletion packages/core/src/Drawer/Drawer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ export const Drawer: React.FC<DrawerProps> = ({
transition={{ type: 'spring', bounce: 0 }}
drag='y'
dragConstraints={{ top: 0, bottom: 0 }}
onDragEnd={handleSnap}
{...(snapHeights ? { onDragEnd: handleSnap } : {})}
data-testid='snap-container'
>
Expand Down

0 comments on commit 70db4f4

Please sign in to comment.