diff --git a/frontend/app/flashcards/page.tsx b/frontend/app/flashcards/page.tsx index 2f4fcf7..b257c2b 100644 --- a/frontend/app/flashcards/page.tsx +++ b/frontend/app/flashcards/page.tsx @@ -25,12 +25,10 @@ function FlashcardsContent() { // 例句圖片邏輯 const getExampleImage = (word: string): string | null => { + // 只列出真正有例句圖片的詞彙 const imageMap: {[key: string]: string} = { - 'brought': '/images/examples/bring_up.png', - 'instincts': '/images/examples/instinct.png', - 'warrants': '/images/examples/warrant.png', 'evidence': '/images/examples/bring_up.png', - 'recovering': '/images/examples/instinct.png' + // warrants 和 recovering 暫時移除,將顯示新增按鈕 } // 只返回已確認存在的圖片,沒有則返回 null