Skip to content

Commit

Permalink
Merge pull request #94 from hasnainmakada-99/Hasnain
Browse files Browse the repository at this point in the history
Added The Play not found feature
  • Loading branch information
atapas committed Apr 23, 2022
2 parents ad76da0 + c1091c2 commit 718e21e
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/common/playlists/PlayList.jsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
import { useSearchFilter } from "common/search/hooks/useSearchFilter";
import PlayThumbnail from "./PlayThumbnail";

import './playlist.css';
import "./playlist.css";

const PlayList = () => {
const plays = useSearchFilter();
if (plays.length === 0) {
return (
<div className="play-not-found">
<h2>Play Not Found</h2>
</div>
);
}
return (
<>
<ol className="list-plays">
Expand All @@ -13,6 +20,7 @@ const PlayList = () => {
))}
</ol>
</>
)};
);
};

export default PlayList;

1 comment on commit 718e21e

@vercel
Copy link

@vercel vercel bot commented on 718e21e Apr 23, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.