import React from 'react'; import { Route, RouteComponentProps, Switch } from 'react-router-dom'; import TransitionRouter from '@/TransitionRouter'; import LoginContainer from '@/components/auth/LoginContainer'; import LoginCheckpointContainer from '@/components/auth/LoginCheckpointContainer'; import LoginKeyCheckpointContainer from '@/components/auth/LoginKeyCheckpointContainer'; import ForgotPasswordContainer from '@/components/auth/ForgotPasswordContainer'; import ResetPasswordContainer from '@/components/auth/ResetPasswordContainer'; import { NotFound } from '@/components/elements/ScreenBlock'; export default ({ location, history, match }: RouteComponentProps) => (
history.push('/auth/login')}/>
);