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