mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-21 10:50:14 +01:00
🕑 fix: Add Suspense to Connection Error Messages (#3074)
This commit is contained in:
parent
0294cfc881
commit
2cf5228021
5 changed files with 72 additions and 8 deletions
|
|
@ -58,7 +58,11 @@ export default function HoverButtons({
|
|||
return null;
|
||||
}
|
||||
|
||||
const { isCreatedByUser } = message;
|
||||
const { isCreatedByUser, error } = message;
|
||||
|
||||
if (error) {
|
||||
return null;
|
||||
}
|
||||
|
||||
const onEdit = () => {
|
||||
if (isEditing) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue