| @@ -1,11 +1,8 @@ | |||
| import React from "react"; | |||
| import PropTypes from "prop-types"; | |||
| import { PreviewCard } from "./ThirdPartCreateOffer.styled"; | |||
| import { PreviewCard, PublishButton } from "./ThirdPartCreateOffer.styled"; | |||
| import selectedTheme from "../../../../themes"; | |||
| import { | |||
| CreateOfferFormContainer, | |||
| NextButtonContainer, | |||
| } from "../CreateOffer.styled"; | |||
| import { CreateOfferFormContainer } from "../CreateOffer.styled"; | |||
| import { useTranslation } from "react-i18next"; | |||
| import { useMemo } from "react"; | |||
| @@ -50,7 +47,7 @@ const ThirdPartCreateOffer = (props) => { | |||
| previewCard | |||
| /> | |||
| </CreateOfferFormContainer> | |||
| <NextButtonContainer | |||
| <PublishButton | |||
| type="submit" | |||
| variant="contained" | |||
| height="48px" | |||
| @@ -59,7 +56,7 @@ const ThirdPartCreateOffer = (props) => { | |||
| onClick={handleSubmit} | |||
| > | |||
| {t("offer.publish")} | |||
| </NextButtonContainer> | |||
| </PublishButton> | |||
| </> | |||
| ); | |||
| }; | |||