diff --git a/src/components/CastSearch.tsx b/src/components/CastSearch.tsx index 531cb84..471a833 100644 --- a/src/components/CastSearch.tsx +++ b/src/components/CastSearch.tsx @@ -122,8 +122,9 @@ const CastSearch = ({ query }: { query: string }) => {
Loading....
: null} - {casts && casts.length ? ( + {loading && casts.length === 0 ? ( +Loading....
+ ) : casts && casts.length ? ( casts.map((cast, index) => (