diff --git a/src/components/Board/ActiveBoard.tsx b/src/components/Board/ActiveBoard.tsx index 5967f0f..d4fbd9c 100644 --- a/src/components/Board/ActiveBoard.tsx +++ b/src/components/Board/ActiveBoard.tsx @@ -19,10 +19,8 @@ import { FcCheckmark } from "react-icons/fc"; import IconButton from "components/IconButton"; import { IoCloseOutline } from "react-icons/io5"; -interface Props { - showSidebar: boolean; -} -export default function ActiveBoard({ showSidebar }: Props) { + +export default function ActiveBoard() { const dispatch = useDispatch(); const [isAddTask, setAddTask] = useState(false); const [isOpenPopup, setOpenPopup] = useState(false); @@ -86,12 +84,7 @@ export default function ActiveBoard({ showSidebar }: Props) { <>
-
+
{active.columns?.map((item: IColumn, index: number) => { return ( @@ -172,7 +165,7 @@ export default function ActiveBoard({ showSidebar }: Props) { >
{isOpenPopup && selectedColumn?.id === item.id ? ( @@ -243,7 +236,7 @@ export default function ActiveBoard({ showSidebar }: Props) {
-
+
-
+
- <> +
+
{active ? ( - + ) : ( -
-
+
+
+
start project
@@ -54,8 +60,9 @@ export default function Index({ showSidebar }: Props) {
+
)} - +
setOpenBoard(false)}> setOpenBoard(false)} /> diff --git a/src/components/Header.tsx b/src/components/Header.tsx index ec27924..1ad0311 100644 --- a/src/components/Header.tsx +++ b/src/components/Header.tsx @@ -35,7 +35,7 @@ export default function Header() { return (
-
+