diff --git a/packages/app/src/components/PostCard/index.jsx b/packages/app/src/components/PostCard/index.jsx index 702ecf50..7e800317 100644 --- a/packages/app/src/components/PostCard/index.jsx +++ b/packages/app/src/components/PostCard/index.jsx @@ -266,8 +266,8 @@ export class PostCard extends React.Component { }) if (result.success) { - if (typeof this.props.close === "function") { - this.props.close() + if (typeof this.props.onDelete === "function") { + this.props.onDelete() } } }