mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-30 07:08:50 +01:00
fix: replace various anchor tags with buttons to prevent text selection on repeated clicks
This commit is contained in:
parent
6ce1b9d850
commit
fc91ed49bc
4 changed files with 8 additions and 8 deletions
|
|
@ -23,7 +23,7 @@ export default function ExportConversation() {
|
|||
|
||||
return (
|
||||
<>
|
||||
<a
|
||||
<button
|
||||
className={cn(
|
||||
'flex items-center gap-3 rounded-md py-3 px-3 text-sm transition-colors duration-200 hover:bg-gray-500/10',
|
||||
exportable ? 'cursor-pointer text-white' : 'cursor-not-allowed text-gray-400'
|
||||
|
|
@ -32,7 +32,7 @@ export default function ExportConversation() {
|
|||
>
|
||||
<Download size={16} />
|
||||
Export conversation
|
||||
</a>
|
||||
</button>
|
||||
|
||||
<ExportModel
|
||||
open={open}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue