diff --git a/src/hooks/useGetStreamMetadata.ts b/src/hooks/useGetStreamMetadata.ts index 7619b89f..0cdc9712 100644 --- a/src/hooks/useGetStreamMetadata.ts +++ b/src/hooks/useGetStreamMetadata.ts @@ -15,7 +15,7 @@ export type MetaData = { // until dedicated endpoint been provided - fetch one by one export const useGetStreamMetadata = () => { - const [isLoading, setLoading] = useState(true); + const [isLoading, setLoading] = useState(false); const [error, setError] = useState(false); const [metaData, setMetadata] = useState(null); const [userRoles] = useAppStore((store) => store.userRoles); diff --git a/src/pages/Home/index.tsx b/src/pages/Home/index.tsx index d47707e8..b46c3e3a 100644 --- a/src/pages/Home/index.tsx +++ b/src/pages/Home/index.tsx @@ -126,7 +126,7 @@ const Home: FC = () => { return ( <> - {!shouldDisplayEmptyPlaceholder && ( + {((Array.isArray(userSpecificStreams) && userSpecificStreams.length > 0) || searchTerm) && ( { 0} /> ) : (