From b37ab6f38a6f96ffcadffc16b4f665d0eeccebe4 Mon Sep 17 00:00:00 2001
From: John Tuckner
Date: Mon, 18 Dec 2023 21:46:27 -0600
Subject: [PATCH] allow for only dragging within column
---
src/components/Board/index.tsx | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/components/Board/index.tsx b/src/components/Board/index.tsx
index 272b7992..7066186d 100644
--- a/src/components/Board/index.tsx
+++ b/src/components/Board/index.tsx
@@ -20,7 +20,6 @@ export default function Index() {
const [isOpenBoard, setOpenBoard] = useState(false);
const [isEditBoard, setEditBoard] = useState(false);
-
const onDragEnd = (result: any) => {
if (!result.destination) {
return;
@@ -69,7 +68,7 @@ export default function Index() {
/>
{item.name} ({item.tasks.length})
-
+
{(provided) => (
- + Create New Board
+ + Create new board
)}