feat: board updating on the server

This commit is contained in:
2025-08-04 16:57:54 +04:00
parent f13417e73a
commit 24de9f5446
8 changed files with 172 additions and 15 deletions

View File

@ -11,7 +11,7 @@ const useDealsList = ({ boardId }: Props) => {
const [deals, setDeals] = useState<DealSchema[]>([]);
const { data, refetch, isLoading } = useQuery({
...getDealsOptions({ path: { board_id: boardId! } }),
...getDealsOptions({ path: { boardId: boardId! } }),
enabled: boardId !== undefined,
});