Skip to content

Commit e64e71a

Browse files
committed
fix: matching styles for report/delete post buttons
1 parent 3e1c953 commit e64e71a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/discussions/posts/post/Post.jsx

Lines changed: 1 addition & 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,6 @@ const Post = ({ handleAddResponseButton, openRestrictionDialogue }) => {
152153
description={intl.formatMessage(messages.reportPostDescription)}
153154
onClose={hideReportConfirmation}
154155
confirmAction={handleReportConfirmation}
155-
confirmButtonVariant="danger"
156156
/>
157157
)}
158158
<HoverCard

0 commit comments

Comments
 (0)