refactor(Index.tsx): remove unused AI tag generation button from current entry section

This commit is contained in:
2025-08-29 11:35:26 +02:00
parent 95f99f6ff1
commit 3a487caeeb

View File

@@ -2092,22 +2092,6 @@ ${content}${context}`;
}}
className={`flex-1 border-0 bg-transparent ${getTextClass('base')} p-0 outline-none`}
/>
{!autoGenerateTags && (
<Button
onClick={async () => {
if (currentNote.trim()) {
addDebugInfo('Manually generating tags for current note...');
const tags = await generateTags(currentNote, 0); // Current note context
setCurrentNoteTags(tags);
}
}}
size="sm"
variant="outline"
className={`${getTextClass('base')} px-2 py-1 h-6`}
>
AI
</Button>
)}
</div>
</div>
<Textarea