move repost icon to submit button instead of card for consistency

This commit is contained in:
Sean Yesmunt 2020-06-18 12:14:28 -04:00
parent a4a80ee2f6
commit 117ccd87e1

View file

@ -115,7 +115,6 @@ function ModalRepost(props: Props) {
return (
<Modal isOpen type="card" onAborted={handleCloseModal} onConfirmed={handleCloseModal}>
<Card
icon={ICONS.REPOST}
title={
<span>
Repost <em>{title}</em>
@ -194,6 +193,7 @@ function ModalRepost(props: Props) {
<div className="section__actions">
<Button
icon={ICONS.REPOST}
disabled={reposting || repostBidError || repostNameError}
button="primary"
label={reposting ? __('Reposting') : __('Repost')}