From 3990471275522487f1f5c5accc5092775b356f3f Mon Sep 17 00:00:00 2001
From: Ricky Stretch
Date: Fri, 20 Mar 2026 20:33:24 -0400
Subject: [PATCH] build.sh error update
---
frontend/src/components/UserProfilePopup.jsx | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/frontend/src/components/UserProfilePopup.jsx b/frontend/src/components/UserProfilePopup.jsx
index 5892ea9..1cf063a 100644
--- a/frontend/src/components/UserProfilePopup.jsx
+++ b/frontend/src/components/UserProfilePopup.jsx
@@ -103,10 +103,11 @@ export default function UserProfilePopup({ user: profileUser, anchorEl, onClose,
)}
{!isSelf && onDirectMessage && (
- {dmError && (
- {dmError}
- )}
- {profileUser.allow_dm === 0 ? (
+ <>
+ {dmError && (
+ {dmError}
+ )}
+ {profileUser.allow_dm === 0 ? (
{starting ? 'Opening...' : 'Direct Message'}
- )
+ )}
+ >
)}
);