diff --git a/web/components/user-page.tsx b/web/components/user-page.tsx index 83391a41..fe8ac116 100644 --- a/web/components/user-page.tsx +++ b/web/components/user-page.tsx @@ -227,7 +227,15 @@ export function UserPage(props: { }, { title: 'Bets', - content: , + content: ( +
+ + {isCurrentUser && } +
+ ), tabIcon: (
{usersBets.length}
), @@ -254,3 +262,27 @@ export function defaultBannerUrl(userId: string) { ] return defaultBanner[genHash(userId)() % defaultBanner.length] } + +import { ExclamationIcon } from '@heroicons/react/solid' + +function AlertBox(props: { title: string; text: string }) { + const { title, text } = props + return ( +
+
+
+
+
+

{title}

+
+ +
+
+
+
+ ) +}