Skip to content

Commit 6e35f74

Browse files
committed
fix(components): skeleton loading fallback
1 parent b03c33a commit 6e35f74

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/components/skeleton/index.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ const SkeletonLoader: FC<SkeletonType> = ({
4646
globalEventBus.on('request_complete', () => {
4747
if (isFocused) setLoading(false);
4848
});
49+
setTimeout(() => {
50+
setLoading(false);
51+
}, 5000);
4952
}, []);
5053
React.useEffect(() => {
5154
if (layout)

0 commit comments

Comments
 (0)