Skip to content

Commit 2a8f442

Browse files
committed
fix: matching styles for report/delete post buttons
1 parent fa77205 commit 2a8f442

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
@@ -142,6 +142,7 @@ const Post = ({ handleAddResponseButton, openEmailConfirmation }) => {
142142
onClose={hideDeleteConfirmation}
143143
confirmAction={handleDeleteConfirmation}
144144
closeButtonVariant="tertiary"
145+
confirmButtonVariant="danger"
145146
confirmButtonText={intl.formatMessage(messages.deleteConfirmationDelete)}
146147
/>
147148
{!abuseFlagged && (
@@ -151,7 +152,6 @@ const Post = ({ handleAddResponseButton, openEmailConfirmation }) => {
151152
description={intl.formatMessage(messages.reportPostDescription)}
152153
onClose={hideReportConfirmation}
153154
confirmAction={handleReportConfirmation}
154-
confirmButtonVariant="danger"
155155
/>
156156
)}
157157
<HoverCard

0 commit comments

Comments
 (0)