mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 18:44:16 +00:00
handle onPost
This commit is contained in:
parent
630e64b4d7
commit
2ef7259767
@ -56,6 +56,10 @@ export default (props) => {
|
||||
|
||||
if (response) {
|
||||
cleanPostData()
|
||||
|
||||
if (typeof props.onPost === "function") {
|
||||
props.onPost()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user