diff --git a/web/components/alert-box.tsx b/web/components/alert-box.tsx
new file mode 100644
index 00000000..a8306583
--- /dev/null
+++ b/web/components/alert-box.tsx
@@ -0,0 +1,24 @@
+import { ExclamationIcon } from '@heroicons/react/solid'
+import { Linkify } from './linkify'
+
+export function AlertBox(props: { title: string; text: string }) {
+ const { title, text } = props
+ return (
+
+ )
+}
diff --git a/web/components/user-page.tsx b/web/components/user-page.tsx
index 9ab2fe83..4c906540 100644
--- a/web/components/user-page.tsx
+++ b/web/components/user-page.tsx
@@ -1,4 +1,8 @@
import clsx from 'clsx'
+import { uniq } from 'lodash'
+import { LinkIcon } from '@heroicons/react/solid'
+import { PencilIcon } from '@heroicons/react/outline'
+
import { follow, unfollow, User } from 'web/lib/firebase/users'
import { CreatorContractsList } from './contract/contracts-list'
import { SEO } from './SEO'
@@ -9,9 +13,7 @@ import { Col } from './layout/col'
import { Linkify } from './linkify'
import { Spacer } from './layout/spacer'
import { Row } from './layout/row'
-import { LinkIcon } from '@heroicons/react/solid'
import { genHash } from 'common/util/random'
-import { PencilIcon } from '@heroicons/react/outline'
import { Tabs } from './layout/tabs'
import { UserCommentsList } from './comments-list'
import { useEffect, useState } from 'react'
@@ -22,8 +24,10 @@ import { LoadingIndicator } from './loading-indicator'
import { BetsList } from './bets-list'
import { Bet } from 'common/bet'
import { getUserBets } from 'web/lib/firebase/bets'
-import { uniq } from 'lodash'
import { FollowersButton, FollowingButton } from './following-button'
+import { AlertBox } from './alert-box'
+import { useFollows } from 'web/hooks/use-follows'
+import { FollowButton } from './follow-button'
export function UserLink(props: {
name: string
@@ -305,29 +309,3 @@ export function defaultBannerUrl(userId: string) {
]
return defaultBanner[genHash(userId)() % defaultBanner.length]
}
-
-import { ExclamationIcon } from '@heroicons/react/solid'
-import { FollowButton } from './follow-button'
-import { useFollows } from 'web/hooks/use-follows'
-
-function AlertBox(props: { title: string; text: string }) {
- const { title, text } = props
- return (
-
- )
-}