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 = (
9191
       }
9292
 
9393
       return response;
94
-    } catch (error) {
94
+    } catch {
9595
       addToHistory({
9696
         command: cmd,
9797
         output: 'Error: Failed to execute command. Check your connection.',
frontend/src/hooks/useGameState.tsmodified
@@ -98,7 +98,7 @@ export const useGameState = () => {
9898
       setHasPlayedIntro(false);
9999
       
100100
       return response;
101
-    } catch (error) {
101
+    } catch {
102102
       setGameState(prev => ({
103103
         ...prev,
104104
         loading: false,