What will be removed, is removed (#721)

This commit is contained in:
Marshall Polaris 2022-08-08 15:05:25 -07:00 committed by GitHub
parent 98806a806f
commit 85e55312ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,10 +0,0 @@
import Router from 'next/router'
import { redirectIfLoggedOut } from 'web/lib/firebase/server-auth'
export const getServerSideProps = redirectIfLoggedOut('/')
// Deprecated: redirects to /portfolio.
// Eventually, this will be removed.
export default function TradesPage() {
Router.replace('/portfolio')
}