diff --git a/src/pages/videos.tsx b/src/pages/videos.tsx index adecd3a..042c71a 100644 --- a/src/pages/videos.tsx +++ b/src/pages/videos.tsx @@ -33,7 +33,7 @@ const VideoList: NextPage = () => {
- {videos && !isLoading ? ( + {videos && videos.map(({ title, id, createdAt }) => ( { createdAt={createdAt} key={id} /> - )) - ) : ( + ))} + + {isLoading ? ( <>
@@ -73,7 +74,13 @@ const VideoList: NextPage = () => {
- )} + ) : null} + + {videos && videos?.length <= 0 ? ( +
+ You do not have any recordings. +
+ ) : null}