fix: rename GameStatus 'hasKey' to 'has-key'
- Update GameStatus type to use kebab-case convention - Change all occurrences in useHero.ts - Update UNIFIED_API.md documentation - Maintains consistency with other status values
This commit is contained in:
+1
-1
@@ -50,7 +50,7 @@ type GameManager = {
|
||||
|
||||
### `GameStatus`
|
||||
```tsx
|
||||
type GameStatus = 'waiting' | 'started' | 'hasKey' | 'paused' | 'game-over' | 'game-won'
|
||||
type GameStatus = 'waiting' | 'started' | 'has-key' | 'paused' | 'game-over' | 'game-won'
|
||||
```
|
||||
|
||||
### `Cursor`
|
||||
|
||||
Reference in New Issue
Block a user