From adaa52f85d7b4fa24e4829326778f2eb918eff6f Mon Sep 17 00:00:00 2001 From: DIYgod Date: Wed, 23 Apr 2025 15:59:44 +0800 Subject: [PATCH] fix(mobile): search loading indicator --- apps/mobile/src/modules/discover/search-tabs/hooks.tsx | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/apps/mobile/src/modules/discover/search-tabs/hooks.tsx b/apps/mobile/src/modules/discover/search-tabs/hooks.tsx index b31afc89c..5eb5395f3 100644 --- a/apps/mobile/src/modules/discover/search-tabs/hooks.tsx +++ b/apps/mobile/src/modules/discover/search-tabs/hooks.tsx @@ -1,6 +1,6 @@ import { withOpacity } from "@follow/utils" import { useMemo } from "react" -import { Text, View } from "react-native" +import { Text } from "react-native" import { PlatformActivityIndicator } from "@/src/components/ui/loading/PlatformActivityIndicator" import { SadCuteReIcon } from "@/src/icons/sad_cute_re" @@ -13,9 +13,7 @@ export const useDataSkeleton = (isLoading: boolean, data: any) => { return useMemo(() => { if (isLoading) { return ( - - - + ) @@ -23,8 +21,7 @@ export const useDataSkeleton = (isLoading: boolean, data: any) => { if (data?.data.length === 0) { return ( - - + No results found