refactor(Index.tsx): remove unused AI tag generation button from current entry section
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user