fix: fixed dnd of boards

This commit is contained in:
2025-08-13 22:12:14 +04:00
parent 7932f3f5c8
commit 20ade53d52

View File

@ -1,5 +1,5 @@
import React, { FC, useState } from "react";
import { Box, Group, Text } from "@mantine/core";
import { Box, Flex, Group, Text } from "@mantine/core";
import styles from "@/app/deals/components/desktop/Board/Board.module.css";
import BoardMenu from "@/app/deals/components/shared/BoardMenu/BoardMenu";
import { useBoardsContext } from "@/app/deals/contexts/BoardsContext";
@ -17,6 +17,7 @@ const Board: FC<Props> = ({ board }) => {
const { onUpdateBoard } = useBoardsContext();
return (
<Flex>
<SmallPageBlock active={selectedBoard?.id === board.id}>
<Group
px={"md"}
@ -53,6 +54,7 @@ const Board: FC<Props> = ({ board }) => {
/>
</Group>
</SmallPageBlock>
</Flex>
);
};