From c8d1ab47489ee790b2abd3636bbb26c984dd7506 Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Fri, 7 Apr 2023 20:09:59 +0800 Subject: [PATCH] Need loader --- src/components/status.jsx | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/src/components/status.jsx b/src/components/status.jsx index 9dc0e570..240a381e 100644 --- a/src/components/status.jsx +++ b/src/components/status.jsx @@ -1670,8 +1670,8 @@ function ReactionsModal({ statusID, instance }) { ); })} - {uiState === 'default' && - (showMore ? ( + {uiState === 'default' ? ( + showMore ? ( { if (inView) { @@ -1689,7 +1689,14 @@ function ReactionsModal({ statusID, instance }) { ) : (

The end.

- ))} + ) + ) : ( + uiState === 'loading' && ( +

+ +

+ ) + )} ) : uiState === 'loading' ? (