import React from "react"; import Link from "next/link"; // headless ui import { Dialog, Transition } from "@headlessui/react"; // ui import { Button, getButtonStyling } from "@plane/ui"; type Props = { isOpen: boolean; handleClose: () => void; onDiscardHref: string; }; export const ConfirmDiscardModal: React.FC = (props) => { const { isOpen, handleClose, onDiscardHref } = props; return (
You have unsaved changes

Changes you made will be lost if you go back. Do you wish to go back?

Go back
); };