diff --git a/src/components/Dnd/Boards/Board/Board.tsx b/src/components/Dnd/Boards/Board/Board.tsx
index c104b63..cdee55e 100644
--- a/src/components/Dnd/Boards/Board/Board.tsx
+++ b/src/components/Dnd/Boards/Board/Board.tsx
@@ -61,11 +61,6 @@ const Board = ({ board }: Props) => {
{
- if (dragState === DragState.DRAG_CARD) {
- setSelectedBoard(board);
- }
- }}
>
{
cardTag.id === tag.id)}
onClick={(event) => onTagClick(tag, event)}
+ label={tag.name}
/>
- {tag.name}
))}
diff --git a/src/components/Dnd/Cards/CardsDndColumn/DealsDndColumn.module.css b/src/components/Dnd/Cards/CardsDndColumn/DealsDndColumn.module.css
index b65d20d..60db21a 100644
--- a/src/components/Dnd/Cards/CardsDndColumn/DealsDndColumn.module.css
+++ b/src/components/Dnd/Cards/CardsDndColumn/DealsDndColumn.module.css
@@ -11,6 +11,7 @@
flex-direction: column;
/*background-color: red;*/
height: 100%;
+ margin-top: 8px;
}
.items-list::after {
diff --git a/src/pages/CardsPage/ui/CardsPage.tsx b/src/pages/CardsPage/ui/CardsPage.tsx
index dd4a195..4bab51d 100644
--- a/src/pages/CardsPage/ui/CardsPage.tsx
+++ b/src/pages/CardsPage/ui/CardsPage.tsx
@@ -1,4 +1,4 @@
-import { FC, useState } from "react";
+import { FC, useMemo, useState } from "react";
import { useCardSummaries } from "../hooks/useCardSummaries.tsx";
import PageBlock from "../../../components/PageBlock/PageBlock.tsx";
import CardEditDrawer from "../drawers/CardEditDrawer/CardEditDrawer.tsx";
@@ -25,18 +25,22 @@ export const CardsPage: FC = () => {
const [displayMode, setDisplayMode] = useState(DisplayMode.BOARD);
- const tableBody = (
-
- );
+ const tableBody = useMemo(() => {
+ return (
+
+ );
+ }, [data]);
- const boardsBody = (
-
-
-
- );
+ const boardsBody = useMemo(() => {
+ return (
+
+
+
+ );
+ }, [summariesRaw]);
const getBody = () => {
return (