import { LabelDropRepo } from "../Entities/LabelDropRepo";
import { EditLabelDropUC } from "../UseCases/EditLabelDropUC";
export function discardEditLabelDropAnswer(appObjects) {
    const labelDropEntity = LabelDropRepo.get(appObjects);
    if (!labelDropEntity) {
        appObjects.submitWarning("discardEditLabelDropAnswer", "Unable to find LabelDropEntity");
        return;
    }
    const editUC = EditLabelDropUC.get(appObjects);
    if (!editUC) {
        appObjects.submitWarning("discardEditLabelDropAnswer", "Unable to find EditLabelDropUC");
        return;
    }
    editUC.discard();
}
//# sourceMappingURL=discardEditLabelDropAnswer.js.map