From 8ca4d7333eac5869ffe1b6b1cd424093578760e2 Mon Sep 17 00:00:00 2001 From: Lim Chee Aun <cheeaun@gmail.com> Date: Tue, 7 Feb 2023 00:25:38 +0800 Subject: [PATCH] Need skeleton --- src/components/timeline.jsx | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/components/timeline.jsx b/src/components/timeline.jsx index 1d0472ef..cc502a15 100644 --- a/src/components/timeline.jsx +++ b/src/components/timeline.jsx @@ -235,6 +235,24 @@ function Timeline({ </li> ); })} + {showMore && uiState === 'loading' && ( + <> + <li + style={{ + height: '20vh', + }} + > + <Status skeleton /> + </li> + <li + style={{ + height: '25vh', + }} + > + <Status skeleton /> + </li> + </> + )} </ul> {uiState === 'default' && (showMore ? (