Skip to content

Commit

Permalink
Avoid unused vars
Browse files Browse the repository at this point in the history
  • Loading branch information
captbaritone committed Oct 1, 2024
1 parent 65af6bd commit c7e1806
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions packages/skin-museum-client/src/ReviewPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,22 +128,22 @@ export default function ReviewPage() {
};
});

function swiped(dir, skin) {
switch (dir) {
case "left":
reject(skin);
break;
case "right":
approve(skin);
break;
default:
}
console.log({ dir, skin });
}

function outOfFrame(skin) {
console.log("out of frame", { skin });
}
// function _swiped(dir, skin) {
// switch (dir) {
// case "left":
// reject(skin);
// break;
// case "right":
// approve(skin);
// break;
// default:
// }
// console.log({ dir, skin });
// }

// function _outOfFrame(skin) {
// console.log("out of frame", { skin });
// }
if (skins.length === 0) {
return <h2 style={{ color: "white" }}>Loading...</h2>;
}
Expand Down

0 comments on commit c7e1806

Please sign in to comment.