[groups] tableData build시 에러로 - onDelete 옵셔널로 처리
This commit is contained in:
@@ -8,7 +8,7 @@ import { GroupsDialog } from "../ui/groups-dialog";
|
||||
declare module "@tanstack/react-table" {
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
interface TableMeta<TData> {
|
||||
onDelete: (groupId: string) => void;
|
||||
onDelete?: (groupId: string , row?: TData) => void;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user