/** * Copyright (c) 2023-present Plane Software, Inc. and contributors * SPDX-License-Identifier: AGPL-3.0-only * See the LICENSE file for details. */ import React from "react"; import Link from "next/link"; // headless ui import { Dialog, Transition } from "@headlessui/react"; // ui import { Button, getButtonStyling } from "@plane/propel/button"; type Props = { isOpen: boolean; handleClose: () => void; onDiscardHref: string; }; export function ConfirmDiscardModal(props: 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
); }