mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 17:00:15 +01:00
feat: auto hide edit button when edit is enabled.
This commit is contained in:
parent
bdfc895800
commit
6d51ec3e37
1 changed files with 1 additions and 1 deletions
|
|
@ -193,7 +193,7 @@ export default function Message({
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
<HoverButtons user={!error && isCreatedByUser} onClick={() => enterEdit()}/>
|
<HoverButtons user={!error && isCreatedByUser && !edit} onClick={() => enterEdit()}/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue