aboutsummaryrefslogtreecommitdiff
path: root/src/components/common/Draggable.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/common/Draggable.tsx')
-rw-r--r--src/components/common/Draggable.tsx3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/components/common/Draggable.tsx b/src/components/common/Draggable.tsx
index 0a480e92..15ba3325 100644
--- a/src/components/common/Draggable.tsx
+++ b/src/components/common/Draggable.tsx
@@ -60,7 +60,6 @@ interface IProps {
maxX?: number;
maxY?: number;
onDragStart?: () => number;
- measureAdd?: () => void;
}
export default function Draggable(props: IProps) {
@@ -91,7 +90,6 @@ export default function Draggable(props: IProps) {
maxX,
maxY,
onDragStart,
- measureAdd,
} = props;
// The Animated object housing our xy value so that we can spring back
@@ -141,7 +139,6 @@ export default function Draggable(props: IProps) {
}
if (onRelease) {
onRelease(e, gestureState);
- measureAdd();
}
if (!shouldReverse) {
pan.current.flattenOffset();