Skip to content

Commit 392d2fa

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

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
@@ -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,7 @@ const Post = ({ handleAddResponseButton, openEmailConfirmation }) => {
151152
description={intl.formatMessage(messages.reportPostDescription)}
152153
onClose={hideReportConfirmation}
153154
confirmAction={handleReportConfirmation}
154-
confirmButtonVariant="danger"
155+
confirmButtonVariant="primary"
155156
/>
156157
)}
157158
<HoverCard

0 commit comments

Comments
 (0)