Skip to content

Commit 875bb2c

Browse files
fix: improve DeleteConfirmation TypeScript types
1 parent 9f41312 commit 875bb2c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/elements/content-sidebar/activity-feed/common/delete-confirmation/DeleteConfirmation.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,7 @@ class DeleteConfirmation extends React.Component<DeleteConfirmationProps> {
4040
};
4141

4242
render() {
43-
const { className, isOpen, message, onDeleteCancel, onDeleteConfirm, ...rest } = this.props; // eslint-disable-line @typescript-eslint/no-unused-vars
44-
// Destructure isOpen to prevent it from being passed to Overlay component
43+
const { intl, message, onDeleteCancel, onDeleteConfirm, ...rest } = this.props;
4544

4645
return (
4746
<Overlay

0 commit comments

Comments
 (0)