Make loader abrupt if >= 3 replies

This commit is contained in:
Lim Chee Aun 2024-02-29 13:19:41 +08:00
parent e1447053b3
commit bb3621e424

View file

@ -906,7 +906,7 @@ function StatusThread({ id, closeLink = '/', instance: propInstance }) {
!!heroStatus?.repliesCount &&
!hasDescendants && (
<div class="status-loading">
<Loader />
<Loader abrupt={heroStatus.repliesCount >= 3} />
</div>
)}
{uiState === 'error' &&