Skip to content

Commit

Permalink
Merge branch 'atapas:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
erayalkis committed Apr 23, 2022
2 parents c672465 + 718e21e commit 079f61b
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;

0 comments on commit 079f61b

Please sign in to comment.