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