From c35cfa935ce6fd9eaa3735e5a347f72ff0d6de88 Mon Sep 17 00:00:00 2001 From: Joni Rinta-Kahila <61010896+JoniRinta-Kahila@users.noreply.github.com> Date: Tue, 13 Feb 2024 15:59:09 +0200 Subject: [PATCH] Removed unnecessary style manipulation. --- src/components/Square.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/components/Square.tsx b/src/components/Square.tsx index 87b523a..ed10b5c 100644 --- a/src/components/Square.tsx +++ b/src/components/Square.tsx @@ -44,7 +44,6 @@ const Square = () => { const stopDragging = () => { setDragging(false) - document.body.style.overflow = 'auto' } const handleMove = (e: any) => {