import { Container } from 'react-bootstrap' import { useUser } from '../hooks/api' import { userCategories } from '../assets/userCategories' import { BackHeader, CategoryPreview, Points, SignOut } from '../components' import { gotError } from '../hooks/useFetch' function UserPage() { const user = useUser() return ( {userCategories.map(cat => ( ))} ) } export default UserPage