Added poetry picture, fixed spacing on UserPage
This commit is contained in:
@ -26,15 +26,15 @@ function UserPage() {
|
||||
<SignOut />
|
||||
</BackHeader>
|
||||
|
||||
<Points points={
|
||||
gotResponse(user) ? (
|
||||
gotError(user) ? -1 : user.data?.points
|
||||
) : (
|
||||
'Загрузка...'
|
||||
)
|
||||
} />
|
||||
<div className='mb-4'>
|
||||
<Points points={
|
||||
gotResponse(user) ? (
|
||||
gotError(user) ? -1 : user.data?.points
|
||||
) : (
|
||||
'Загрузка...'
|
||||
)
|
||||
} />
|
||||
|
||||
<div>
|
||||
<h5 className={styles.userRating}>
|
||||
Ваша оценка:
|
||||
<StarRating userId={user.data?.id || 1} />
|
||||
@ -45,7 +45,9 @@ function UserPage() {
|
||||
<CategoryPreview key={cat} category={cat} />
|
||||
))}
|
||||
|
||||
<Poetry />
|
||||
<div className='mb-3'>
|
||||
<Poetry />
|
||||
</div>
|
||||
</Container>
|
||||
)
|
||||
}
|
||||
|
Reference in New Issue
Block a user