Add back post success toast
This commit is contained in:
committed by
Samuel Newman
parent
2fc05e29c3
commit
018bd5e7d9
@@ -522,6 +522,14 @@ export const ComposePost = ({
|
|||||||
onPostSuccess?.(postSuccessData)
|
onPostSuccess?.(postSuccessData)
|
||||||
}
|
}
|
||||||
onClose()
|
onClose()
|
||||||
|
toast.show(
|
||||||
|
thread.posts.length > 1
|
||||||
|
? _(msg`Your posts have been published`)
|
||||||
|
: replyTo
|
||||||
|
? _(msg`Your reply has been published`)
|
||||||
|
: _(msg`Your post has been published`),
|
||||||
|
{type: 'success'},
|
||||||
|
)
|
||||||
}, [
|
}, [
|
||||||
_,
|
_,
|
||||||
agent,
|
agent,
|
||||||
|
|||||||
Reference in New Issue
Block a user