accounts-frontend/packages/app/services/authFlow/FinishState.ts
2020-05-24 02:08:24 +03:00

9 lines
252 B
TypeScript

import AbstractState from './AbstractState';
import { AuthContext } from './AuthFlow';
export default class FinishState extends AbstractState {
enter(context: AuthContext): Promise<void> | void {
context.navigate('/oauth/finish');
}
}