aboutsummaryrefslogtreecommitdiff
path: root/src/components/taggs
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/taggs')
-rw-r--r--src/components/taggs/TaggDraggable.tsx10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/components/taggs/TaggDraggable.tsx b/src/components/taggs/TaggDraggable.tsx
index 7be4a88f..e31be729 100644
--- a/src/components/taggs/TaggDraggable.tsx
+++ b/src/components/taggs/TaggDraggable.tsx
@@ -35,16 +35,6 @@ const TaggDraggable: React.FC<TaggDraggableProps> = (
const draggableRef = useRef(null);
useEffect(() => {
- setTimeout(() => {
- draggableRef.current.measure(
- (_1: number, _2: number, width: number, height: number, px, py) => {
- setStart([width, height]);
- },
- );
- }, 250);
- }, []);
-
- useEffect(() => {
draggableRef.current.measure(
(
fx: number, // location of ref relative to parent element