Added poetry picture, fixed spacing on UserPage

This commit is contained in:
2023-08-09 14:25:50 +03:00
parent 6478b45301
commit fa98b392a8
5 changed files with 26 additions and 27 deletions

View File

@ -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>
)
}