Need loader

This commit is contained in:
Lim Chee Aun 2023-04-07 20:09:59 +08:00
parent 252b52ca7a
commit c8d1ab4748

View file

@ -1670,8 +1670,8 @@ function ReactionsModal({ statusID, instance }) {
);
})}
</ul>
{uiState === 'default' &&
(showMore ? (
{uiState === 'default' ? (
showMore ? (
<InView
onChange={(inView) => {
if (inView) {
@ -1689,7 +1689,14 @@ function ReactionsModal({ statusID, instance }) {
</InView>
) : (
<p class="ui-state insignificant">The end.</p>
))}
)
) : (
uiState === 'loading' && (
<p class="ui-state">
<Loader abrupt />
</p>
)
)}
</>
) : uiState === 'loading' ? (
<p class="ui-state">