From 394c410ba906cb275ff3ddecbc2112273777c3ee Mon Sep 17 00:00:00 2001
From: InsertDisc <31751462+InsertDisc@users.noreply.github.com>
Date: Fri, 23 Aug 2024 12:27:20 -0400
Subject: [PATCH] Update component.jsx
Updated indentation according to linting and removed unnecessary const variables.
---
src/widgets/romm/component.jsx | 29 ++++++++++++-----------------
1 file changed, 12 insertions(+), 17 deletions(-)
diff --git a/src/widgets/romm/component.jsx b/src/widgets/romm/component.jsx
index eebf7a156..f8e29812e 100644
--- a/src/widgets/romm/component.jsx
+++ b/src/widgets/romm/component.jsx
@@ -23,22 +23,17 @@ export default function Component({ service }) {
}
if (response) {
- const platforms = response.PLATFORMS;
- const totalRoms = response.ROMS;
- const totalSaves = response.SAVES;
- const totalStates = response.STATES;
- const totalScreenshots = response.SCREENSHOTS;
- const totalFilesizeGB = (response.FILESIZE / (1024 ** 3)).toFixed(2);
+ const totalFilesizeGB = (response.FILESIZE / (1024 ** 3)).toFixed(2);
- return (
-
-
-
-
-
-
-
-
- );
- }
+ return (
+
+
+
+
+
+
+
+
+ );
+ }
}