move div for better presentation
This commit is contained in:
@@ -263,8 +263,8 @@ export default function Friends() {
|
|||||||
>
|
>
|
||||||
{removing === friend.id ? 'Removing...' : 'Remove'}
|
{removing === friend.id ? 'Removing...' : 'Remove'}
|
||||||
</button>
|
</button>
|
||||||
<div style={{ color: 'var(--primary)', whiteSpace: 'nowrap' }}>{friend.total_points} points</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
<div style={{ color: 'var(--primary)', whiteSpace: 'nowrap' }}>{friend.total_points} points</div>
|
||||||
</div>
|
</div>
|
||||||
))}
|
))}
|
||||||
{challengeFriends.length > 0 && (
|
{challengeFriends.length > 0 && (
|
||||||
@@ -296,8 +296,8 @@ export default function Friends() {
|
|||||||
>
|
>
|
||||||
{sending === friend.id ? 'Sending...' : friend.friendship_status === 'pending' ? 'Pending' : 'Add Friend'}
|
{sending === friend.id ? 'Sending...' : friend.friendship_status === 'pending' ? 'Pending' : 'Add Friend'}
|
||||||
</button>
|
</button>
|
||||||
<div style={{ color: 'var(--primary)', whiteSpace: 'nowrap' }}>{friend.total_points} points</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
<div style={{ color: 'var(--primary)', whiteSpace: 'nowrap' }}>{friend.total_points} points</div>
|
||||||
</div>
|
</div>
|
||||||
))}
|
))}
|
||||||
</>
|
</>
|
||||||
|
|||||||
Reference in New Issue
Block a user