delay toast after posting (#9208)
This commit is contained in:
@@ -564,6 +564,7 @@ export const ComposePost = ({
|
||||
onPostSuccess?.(postSuccessData)
|
||||
}
|
||||
onClose()
|
||||
setTimeout(() => {
|
||||
Toast.show(
|
||||
<Toast.Outer>
|
||||
<Toast.Icon />
|
||||
@@ -589,6 +590,7 @@ export const ComposePost = ({
|
||||
</Toast.Outer>,
|
||||
{type: 'success'},
|
||||
)
|
||||
}, 500)
|
||||
}, [
|
||||
_,
|
||||
agent,
|
||||
|
||||
Reference in New Issue
Block a user