Fix replying on deleted posts (#28061)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
626ccdea4b
Коммит
182190314f
@@ -89,7 +89,7 @@ const useSubmit = (
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
const post = getPost(state, postId);
|
const post = getPost(state, postId);
|
||||||
if (!post || post.delete_at) {
|
if (!post || post.delete_at || post.state === 'DELETED') {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user