build.sh error update

This commit is contained in:
2026-03-20 20:33:24 -04:00
parent 241d913e0f
commit 3990471275

View File

@@ -103,10 +103,11 @@ export default function UserProfilePopup({ user: profileUser, anchorEl, onClose,
</p> </p>
)} )}
{!isSelf && onDirectMessage && ( {!isSelf && onDirectMessage && (
{dmError && ( <>
<div style={{ fontSize:12, color:'var(--error)', padding:'4px 0', textAlign:'center' }}>{dmError}</div> {dmError && (
)} <div style={{ fontSize:12, color:'var(--error)', padding:'4px 0', textAlign:'center' }}>{dmError}</div>
{profileUser.allow_dm === 0 ? ( )}
{profileUser.allow_dm === 0 ? (
<p style={{ <p style={{
marginTop: 8, marginTop: 8,
textAlign: 'center', textAlign: 'center',
@@ -145,7 +146,8 @@ export default function UserProfilePopup({ user: profileUser, anchorEl, onClose,
</svg> </svg>
{starting ? 'Opening...' : 'Direct Message'} {starting ? 'Opening...' : 'Direct Message'}
</button> </button>
) )}
</>
)} )}
</div> </div>
); );