From 68784018e6d53368ae100f459a5be6ebef2120d5 Mon Sep 17 00:00:00 2001 From: Dave Richer Date: Tue, 21 May 2024 17:24:34 -0400 Subject: [PATCH] Toggle Orientation now works dynamically Signed-off-by: Dave Richer --- client/src/components/trello-board/controllers/Board.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/components/trello-board/controllers/Board.jsx b/client/src/components/trello-board/controllers/Board.jsx index 1ac83cab5..3418a012d 100644 --- a/client/src/components/trello-board/controllers/Board.jsx +++ b/client/src/components/trello-board/controllers/Board.jsx @@ -7,11 +7,11 @@ const Board = ({ id, className, components, orientation, ...additionalProps }) = const [storeId] = useState(id || v1()); const allClassNames = classNames("react-trello-board", className || ""); - const Styles = orientation === "horizontal" ? components.GlobalStyleHorizontal : components.GlobalStyleVertical; return ( <> - + {orientation === "horizontal" && } + {orientation === "vertical" && }