dramaling-vocab-learning/frontend
鄭沛軒 989e92ce85 fix: 修復詞卡頁面 TypeScript 錯誤並清理冗餘代碼
🔧 TypeScript 錯誤修復:
- 移除循環引用:刪除 `type Flashcard = Flashcard` 重複定義
- 清理 import 衝突:直接使用從 flashcards.ts 導入的 Flashcard 型別
- 移除未使用變數:刪除 mockFlashcards 假資料定義
- 清理冗餘型別:移除不需要的 CardSet 型別定義

🧹 代碼清理:
- 完全移除假資料依賴,現在純粹使用真實 API
- 簡化型別結構,避免不必要的型別重複定義
- 提升代碼可維護性和類型安全性

現在詞卡頁面沒有 TypeScript 錯誤,所有功能正常運作。

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-24 14:41:23 +08:00
..
app fix: 修復詞卡頁面 TypeScript 錯誤並清理冗餘代碼 2025-09-24 14:41:23 +08:00
components feat: 完善通知系統堆疊效果並添加分頁 emoji 2025-09-24 14:34:01 +08:00
contexts feat: DramaLing 完整版本 - 韓劇單字學習應用 2025-09-16 23:06:47 +08:00
hooks feat: 實現完整語音功能系統與學習模式整合 2025-09-19 13:33:17 +08:00
lib feat: 完成詞卡管理功能前後端完整整合 2025-09-24 04:21:06 +08:00
public feat: DramaLing 完整版本 - 韓劇單字學習應用 2025-09-16 23:06:47 +08:00
next.config.mjs feat: DramaLing 完整版本 - 韓劇單字學習應用 2025-09-16 23:06:47 +08:00
package-lock.json feat: 實現完整語音功能系統與學習模式整合 2025-09-19 13:33:17 +08:00
package.json feat: 實現完整語音功能系統與學習模式整合 2025-09-19 13:33:17 +08:00
postcss.config.js feat: DramaLing 完整版本 - 韓劇單字學習應用 2025-09-16 23:06:47 +08:00
tailwind.config.ts feat: DramaLing 完整版本 - 韓劇單字學習應用 2025-09-16 23:06:47 +08:00
tsconfig.json feat: DramaLing 完整版本 - 韓劇單字學習應用 2025-09-16 23:06:47 +08:00