delay toast after posting (#9208)

This commit is contained in:
Samuel Newman
2025-10-15 18:56:35 +03:00
committed by GitHub
parent 591fd262b3
commit 6414bda252
+2
View File
@@ -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,