Boards add context menu (#1223)

* - add context menu to boards

* - delete unused file
This commit is contained in:
brendanlaschke
2023-08-16 02:05:23 +02:00
committed by GitHub
parent aa1f9bcab3
commit 8bbc54f4c7
7 changed files with 81 additions and 16 deletions

View File

@ -0,0 +1,11 @@
import React from 'react';
import { useRecoilValue } from 'recoil';
import { ContextMenu } from '@/ui/context-menu/components/ContextMenu';
import { selectedCardIdsSelector } from '../states/selectors/selectedCardIdsSelector';
export function EntityBoardContextMenu() {
const selectedBoardCards = useRecoilValue(selectedCardIdsSelector);
return <ContextMenu selectedIds={selectedBoardCards}></ContextMenu>;
}