satisfy the linter
Authored by
mfwolffe <wolffemf@dukes.jmu.edu>
- SHA
a9cc2d97772bfaa1236f0eb162a44d2c62a801ea- Parents
-
5de3bd7 - Tree
4344051
a9cc2d9
a9cc2d97772bfaa1236f0eb162a44d2c62a801ea5de3bd7
4344051| Status | File | + | - |
|---|---|---|---|
| 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 | 93 | return response; |
| 94 | - } catch (error) { | |
| 94 | + } catch { | |
| 95 | 95 | addToHistory({ |
| 96 | 96 | command: cmd, |
| 97 | 97 | output: 'Error: Failed to execute command. Check your connection.', |
frontend/src/hooks/useGameState.tsmodified@@ -98,7 +98,7 @@ export const useGameState = () => { | ||
| 98 | 98 | setHasPlayedIntro(false); |
| 99 | 99 | |
| 100 | 100 | return response; |
| 101 | - } catch (error) { | |
| 101 | + } catch { | |
| 102 | 102 | setGameState(prev => ({ |
| 103 | 103 | ...prev, |
| 104 | 104 | loading: false, |