fix onDelete prop

This commit is contained in:
srgooglo 2022-06-02 21:07:23 +02:00
parent eb9b2f4277
commit d590906bb0

View File

@ -266,8 +266,8 @@ export class PostCard extends React.Component {
}) })
if (result.success) { if (result.success) {
if (typeof this.props.close === "function") { if (typeof this.props.onDelete === "function") {
this.props.close() this.props.onDelete()
} }
} }
} }