fix: fixed dnd of boards
This commit is contained in:
@ -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>
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user