move repost icon to submit button instead of card for consistency
This commit is contained in:
parent
a4a80ee2f6
commit
117ccd87e1
1 changed files with 1 additions and 1 deletions
|
@ -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')}
|
||||
|
|
Loading…
Reference in a new issue