manifold/web/pages/[username]/bets.tsx
Austin Chen d50cc39c27
Show every user's bets on their profile (#170)
* Show user bets on their profile

* Add an alert for current users

* Replace `/portfolio` with `/Austin?tab=Bets`

* Replace `/Austin?tab=Bets` with `/Austin/bets`

* Use replaceState for better browser history

* Remove two console.logs

* Note a bug

* Fix path

* Write in description of why we're doing this
2022-05-18 10:36:17 -04:00

6 lines
104 B
TypeScript

import UserProfile from '.'
export default function UserBets() {
return <UserProfile tab="bets" />
}