import { Container } from 'react-bootstrap' import { useUser } from '../hooks/api' import { userCategories } from '../assets/userCategories' import { BackHeader, CategoryPreview, Poetry, Points, SignOut, StarRating } from '../components' import { gotError, gotResponse } from '../hooks/useFetch' import styles from '../styles/UserPage.module.css' function UserPage() { const user = useUser() return (
Ваша оценка:
{userCategories.map(cat => ( ))}
) } export default UserPage