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