diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-12-07 23:47:35 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-12-07 23:47:35 +0900 |
| commit | 3cfa0f5c029113a2ada8e8663767a654150ba8c3 (patch) | |
| tree | 0ed8b65c4283079260cadd509e5f68733479a689 /src/client/components | |
| parent | f0635f9beb0ff85bbea2264a1b19160f0beed257 (diff) | |
| download | kioku-3cfa0f5c029113a2ada8e8663767a654150ba8c3.tar.gz kioku-3cfa0f5c029113a2ada8e8663767a654150ba8c3.tar.zst kioku-3cfa0f5c029113a2ada8e8663767a654150ba8c3.zip | |
chore: fix all lint errors and warnings
- Remove unused imports in repositories.ts and sync.test.ts
- Replace non-null assertions with type casts in HomePage.test.tsx
- Use semantic <output> element instead of div with role="status"
- Use semantic <button> element instead of div with role="button"
- Remove useless React fragment in StudyPage.tsx
- Fix useCallback dependencies for handleFlip and handleRating
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Diffstat (limited to 'src/client/components')
| -rw-r--r-- | src/client/components/OfflineBanner.tsx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/client/components/OfflineBanner.tsx b/src/client/components/OfflineBanner.tsx index 357db33..4782fd4 100644 --- a/src/client/components/OfflineBanner.tsx +++ b/src/client/components/OfflineBanner.tsx @@ -8,9 +8,8 @@ export function OfflineBanner() { } return ( - <div + <output data-testid="offline-banner" - role="status" aria-live="polite" style={{ backgroundColor: "#6c757d", @@ -34,6 +33,6 @@ export function OfflineBanner() { </span> )} </span> - </div> + </output> ); } |
