diff --git a/web/components/user-page.tsx b/web/components/user-page.tsx
index f412e38b..c8a697c3 100644
--- a/web/components/user-page.tsx
+++ b/web/components/user-page.tsx
@@ -58,8 +58,6 @@ export function UserLink(props: {
)
}
-export const TAB_IDS = ['markets', 'comments', 'bets', 'groups']
-
export function UserPage(props: { user: User }) {
const { user } = props
const router = useRouter()
@@ -103,10 +101,10 @@ export function UserPage(props: { user: User }) {
{/* Top right buttons (e.g. edit, follow) */}
-
+
{!isCurrentUser &&
}
{isCurrentUser && (
-
+
{' '}
Edit
@@ -116,19 +114,22 @@ export function UserPage(props: { user: User }) {
{/* Profile details: name, username, bio, and link to twitter/discord */}
- {user.name}
+
+ {user.name}
+
+ = 0 ? 'text-green-600' : 'text-red-400'
+ )}
+ >
+ {formatMoney(profit)}
+ {' '}
+ profit
+
+
@{user.username}
-
- = 0 ? 'text-green-600' : 'text-red-400'
- )}
- >
- {formatMoney(profit)}
- {' '}
- profit
-
+
{user.bio && (
<>
@@ -138,17 +139,7 @@ export function UserPage(props: { user: User }) {
>
)}
-
-
-
-
- {currentUser &&
- ['ian', 'Austin', 'SG', 'JamesGrugett'].includes(
- currentUser.username
- ) && }
-
-
-
+
{user.website && (
)}
-
+
{currentUser?.id === user.id && (
- Refer a friend and earn {formatMoney(500)} when they sign up!
+ Earn {formatMoney(500)} when you refer a friend!
{' '}
You have
@@ -244,6 +235,22 @@ export function UserPage(props: { user: User }) {
>
),
},
+ {
+ title: 'Social',
+ content: (
+
+
+
+ {currentUser &&
+ ['ian', 'Austin', 'SG', 'JamesGrugett'].includes(
+ currentUser.username
+ ) && }
+
+
+ ),
+ },
]}
/>