// @flow import * as React from 'react'; import { withRouter } from 'react-router'; import { connect } from 'react-redux'; import compose from 'recompose/compose'; import FullscreenView from 'src/components/fullscreenView'; import LoginButtonSet from 'src/components/loginButtonSet'; import { LargeTitle, FullscreenContent, CodeOfConduct } from './style'; import { CLIENT_URL } from 'src/api/constants'; import { setTitlebarProps } from 'src/actions/titlebar'; type Props = { redirectPath: ?string, signinType?: ?string, close?: Function, location?: Object, dispatch: Function, githubOnly?: boolean, }; class Login extends React.Component { componentDidMount() { const { dispatch } = this.props; dispatch(setTitlebarProps({ title: 'Login' })); } render() { const { redirectPath, signinType = 'signin', githubOnly } = this.props; return ( Log in By using Spectrum, you agree to our{' '} Code of Conduct ,{' '} Privacy Statement {', and '} Terms of Service . ); } } export default compose( withRouter, connect() )(Login);