zeroed-some/bashamole / a9cc2d9

Browse files

satisfy the linter

Authored by mfwolffe <wolffemf@dukes.jmu.edu>
SHA
a9cc2d97772bfaa1236f0eb162a44d2c62a801ea
Parents
5de3bd7
Tree
4344051

2 changed files

StatusFile+-
M frontend/src/hooks/useCommandExecution.ts 1 1
M frontend/src/hooks/useGameState.ts 1 1
frontend/src/hooks/useCommandExecution.tsmodified
@@ -91,7 +91,7 @@ export const useCommandExecution = (
91
       }
91
       }
92
 
92
 
93
       return response;
93
       return response;
94
-    } catch (error) {
94
+    } catch {
95
       addToHistory({
95
       addToHistory({
96
         command: cmd,
96
         command: cmd,
97
         output: 'Error: Failed to execute command. Check your connection.',
97
         output: 'Error: Failed to execute command. Check your connection.',
frontend/src/hooks/useGameState.tsmodified
@@ -98,7 +98,7 @@ export const useGameState = () => {
98
       setHasPlayedIntro(false);
98
       setHasPlayedIntro(false);
99
       
99
       
100
       return response;
100
       return response;
101
-    } catch (error) {
101
+    } catch {
102
       setGameState(prev => ({
102
       setGameState(prev => ({
103
         ...prev,
103
         ...prev,
104
         loading: false,
104
         loading: false,