diff --git a/src/discussions/posts/post/Post.jsx b/src/discussions/posts/post/Post.jsx index 2312697d..be20ce94 100644 --- a/src/discussions/posts/post/Post.jsx +++ b/src/discussions/posts/post/Post.jsx @@ -48,8 +48,8 @@ function Post({ } }; - const handleDeleteConfirmation = () => { - dispatch(removeThread(post.id)); + const handleDeleteConfirmation = async () => { + await dispatch(removeThread(post.id)); history.push({ pathname: '.', search: enableInContextSidebar && '?inContextSidebar',