fix friends
All checks were successful
Build Images and Deploy / Update-PROD-Stack (push) Successful in 33s
All checks were successful
Build Images and Deploy / Update-PROD-Stack (push) Successful in 33s
This commit is contained in:
@@ -258,11 +258,18 @@ export default function Friends() {
|
|||||||
))}
|
))}
|
||||||
{challengeFriends.length > 0 && (
|
{challengeFriends.length > 0 && (
|
||||||
<>
|
<>
|
||||||
<div style={{ borderTop: '1px solid var(--border)', paddingTop: '1rem', marginTop: '0.5rem' }}>
|
{friends.length > 0 && (
|
||||||
|
<div style={{ borderTop: '1px solid var(--border)', paddingTop: '1rem', marginTop: '0.5rem' }}>
|
||||||
|
<div style={{ fontSize: '0.875rem', color: 'var(--text-muted)', marginBottom: '0.5rem' }}>
|
||||||
|
From Challenges
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
|
{friends.length === 0 && (
|
||||||
<div style={{ fontSize: '0.875rem', color: 'var(--text-muted)', marginBottom: '0.5rem' }}>
|
<div style={{ fontSize: '0.875rem', color: 'var(--text-muted)', marginBottom: '0.5rem' }}>
|
||||||
From Challenges
|
From Challenges
|
||||||
</div>
|
</div>
|
||||||
</div>
|
)}
|
||||||
{challengeFriends.map(friend => (
|
{challengeFriends.map(friend => (
|
||||||
<div key={friend.id} style={{ display: 'flex', justifyContent: 'space-between', alignItems: 'center' }}>
|
<div key={friend.id} style={{ display: 'flex', justifyContent: 'space-between', alignItems: 'center' }}>
|
||||||
<div>
|
<div>
|
||||||
|
|||||||
Reference in New Issue
Block a user