import { useIntl } from "react-intl" import Body from "@scandic-hotels/design-system/Body" import { OldDSButton as Button } from "@scandic-hotels/design-system/OldDSButton" import Title from "@scandic-hotels/design-system/Title" import useRedeemFlow from "./useRedeemFlow" import styles from "./redeem.module.css" export function ConfirmClose({ close }: { close: () => void }) { const intl = useIntl() const { setRedeemStep } = useRedeemFlow() return ( <>
{intl.formatMessage({ id: "redeem.confirmClose.title", defaultMessage: "If you close this your benefit will be removed", })} {intl.formatMessage({ id: "redeem.confirmClose.question", defaultMessage: "Have you showed this benefit to the hotel staff?", })} {intl.formatMessage({ id: "redeem.confirmClose.info", defaultMessage: "If not, please go back and do so before you close this. Once you close this your benefit will be void and removed from My Benefits.", })}
) }