[WEB-1640] fix: validating the error in estimate delete (#4853)

* fix: validating the error in estimate delete

* fix: moved estimate delete to ee
This commit is contained in:
guru_sainath 2024-06-18 16:14:24 +05:30 committed by GitHub
parent 8705a96220
commit cc455b0e76
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 28 additions and 124 deletions

View file

@ -1,3 +1,3 @@
export * from "./estimate-list-item-buttons";
export * from "./update";
export * from "./points";

View file

@ -0,0 +1,17 @@
"use client";
import { FC } from "react";
import { TEstimateTypeErrorObject } from "@plane/types";
type TEstimatePointDelete = {
workspaceSlug: string;
projectId: string;
estimateId: string;
estimatePointId: string;
callback: () => void;
estimatePointError?: TEstimateTypeErrorObject | undefined;
handleEstimatePointError?: (newValue: string, message: string | undefined, mode?: "add" | "delete") => void;
};
export const EstimatePointDelete: FC<TEstimatePointDelete> = () => <></>;

View file

@ -0,0 +1 @@
export * from "./delete";