From c7e180687bb82327b295a1133664484141b4ba22 Mon Sep 17 00:00:00 2001 From: Jordan Eldredge Date: Mon, 30 Sep 2024 22:19:17 -0700 Subject: [PATCH] Avoid unused vars --- packages/skin-museum-client/src/ReviewPage.js | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/packages/skin-museum-client/src/ReviewPage.js b/packages/skin-museum-client/src/ReviewPage.js index 098957b68..8266eff2c 100644 --- a/packages/skin-museum-client/src/ReviewPage.js +++ b/packages/skin-museum-client/src/ReviewPage.js @@ -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

Loading...

; }