Skip to content

Commit b081c05

Browse files
bydawenihor-romaniuk
authored andcommitted
fix: matching styles for report/delete post buttons
1 parent 5bef624 commit b081c05

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/discussions/posts/post/Post.jsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ const Post = ({ handleAddResponseButton, openRestrictionDialogue }) => {
143143
onClose={hideDeleteConfirmation}
144144
confirmAction={handleDeleteConfirmation}
145145
closeButtonVariant="tertiary"
146+
confirmButtonVariant="danger"
146147
confirmButtonText={intl.formatMessage(messages.deleteConfirmationDelete)}
147148
/>
148149
{!abuseFlagged && (
@@ -152,7 +153,7 @@ const Post = ({ handleAddResponseButton, openRestrictionDialogue }) => {
152153
description={intl.formatMessage(messages.reportPostDescription)}
153154
onClose={hideReportConfirmation}
154155
confirmAction={handleReportConfirmation}
155-
confirmButtonVariant="danger"
156+
confirmButtonVariant="primary"
156157
/>
157158
)}
158159
<HoverCard

0 commit comments

Comments
 (0)