From 3cfa0f5c029113a2ada8e8663767a654150ba8c3 Mon Sep 17 00:00:00 2001
From: nsfisis <nsfisis@gmail.com>
Date: Sun, 7 Dec 2025 23:47:35 +0900
Subject: chore: fix all lint errors and warnings
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

- 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>
---
 src/client/components/OfflineBanner.tsx | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

(limited to 'src/client/components/OfflineBanner.tsx')

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>
 	);
 }
-- 
cgit v1.2.3-70-g09d2

