🕑 fix: Add Suspense to Connection Error Messages (#3074)

This commit is contained in:
Danny Avila 2024-06-15 16:16:06 -04:00 committed by GitHub
parent 0294cfc881
commit 2cf5228021
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 72 additions and 8 deletions

View file

@ -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) {