diff --git a/src/app/trending/Trending.tsx b/src/app/trending/Trending.tsx index 34805fa..217e4e4 100644 --- a/src/app/trending/Trending.tsx +++ b/src/app/trending/Trending.tsx @@ -75,8 +75,13 @@ export const Trending: Component = ({}) => {

Trending

- {isLoading && !data && } - {error && ( + {isLoading && !data && ( + + )} + + {error !== null && (

@@ -90,7 +95,7 @@ export const Trending: Component = ({}) => {

)} - {data && error === null && ( + {data && data.length !== 0 && error === null && (
{data.map((video) => (