Skip to content

Commit

Permalink
excess function
Browse files Browse the repository at this point in the history
  • Loading branch information
imisaacwu committed Jun 23, 2024
1 parent 9bef258 commit 56b6dd2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/components/Deck.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ export default function Deck({deck}: {deck: string}) {
const cards: Card[] = makeDeck(deck);
shuffle(cards);

const pop = (n: number) => cards.slice(-n);

return (
<div id="deck" className="card-container">
<div id="deck-area" className="card-area"></div>
Expand Down

0 comments on commit 56b6dd2

Please sign in to comment.