build.sh error update
This commit is contained in:
@@ -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>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user