diff --git a/web/components/user-page.tsx b/web/components/user-page.tsx index 4784c295..a5c225c7 100644 --- a/web/components/user-page.tsx +++ b/web/components/user-page.tsx @@ -1,9 +1,7 @@ import clsx from 'clsx' -import { firebaseLogout, User } from '../lib/firebase/users' +import { User } from '../lib/firebase/users' import { CreatorContractsList } from './contracts-list' import { Title } from './title' -import { Row } from './layout/row' -import { formatMoney } from '../lib/util/format' import { SEO } from './SEO' import { Page } from './page' import { SiteLink } from './site-link' @@ -24,41 +22,6 @@ export function UserLink(props: { ) } -function UserCard(props: { user: User; showPrivateInfo?: boolean }) { - const { user, showPrivateInfo } = props - return ( - -
- {user?.avatarUrl && ( - - )} -
-
-
{user.name}
- - {showPrivateInfo && ( - <> -

{formatMoney(user?.balance)}

-
- -
- - )} -
-
- ) -} - export function UserPage(props: { user: User; currentUser?: User }) { const { user, currentUser } = props @@ -74,8 +37,6 @@ export function UserPage(props: { user: User; currentUser?: User }) { url={`/@${user.username}`} /> - {/* */} - <CreatorContractsList creator={user} />