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) onPostSuccess?.(postSuccessData)
} }
onClose() onClose()
setTimeout(() => {
Toast.show( Toast.show(
<Toast.Outer> <Toast.Outer>
<Toast.Icon /> <Toast.Icon />
@@ -589,6 +590,7 @@ export const ComposePost = ({
</Toast.Outer>, </Toast.Outer>,
{type: 'success'}, {type: 'success'},
) )
}, 500)
}, [ }, [
_, _,
agent, agent,