manifold/web/pages/trades.tsx

11 lines
310 B
TypeScript
Raw Normal View History

import Router from 'next/router'
import { redirectIfLoggedOut } from 'web/lib/firebase/server-auth'
export const getServerSideProps = redirectIfLoggedOut('/')
2021-12-17 23:07:08 +00:00
// Deprecated: redirects to /portfolio.
// Eventually, this will be removed.
export default function TradesPage() {
Router.replace('/portfolio')
2021-12-17 23:07:08 +00:00
}