diff --git a/src/LoginGate.tsx b/src/LoginGate.tsx index 32fde25..6321e3f 100644 --- a/src/LoginGate.tsx +++ b/src/LoginGate.tsx @@ -3,6 +3,7 @@ import { connect } from 'react-redux'; import { withRouter } from 'react-router'; import Container from './widgets/Container'; +import ExternalLink from './widgets/ExternalLink'; import SyncGate from './SyncGate'; import LoginForm from './components/LoginForm'; @@ -49,8 +50,10 @@ class Root extends React.PureComponent { />
); diff --git a/src/components/LoginForm.tsx b/src/components/LoginForm.tsx index 5352e55..88dd487 100644 --- a/src/components/LoginForm.tsx +++ b/src/components/LoginForm.tsx @@ -3,6 +3,8 @@ import RaisedButton from 'material-ui/RaisedButton'; import TextField from 'material-ui/TextField'; import Toggle from 'material-ui/Toggle'; +import ExternalLink from '../widgets/ExternalLink'; + import { getPalette } from '../App'; import * as C from '../constants'; @@ -148,7 +150,7 @@ class LoginForm extends React.PureComponent { onChange={this.handleInputChange} />
- Forgot password? + Forgot password?
( + +)); + +export default ExternalLink; diff --git a/src/widgets/List.tsx b/src/widgets/List.tsx index 7d99942..303a5cb 100644 --- a/src/widgets/List.tsx +++ b/src/widgets/List.tsx @@ -1,6 +1,8 @@ import * as React from 'react'; import { pure } from 'recompose'; +import ExternalLink from './ExternalLink'; + import './List.css'; export const ListItemRaw = pure((_props: any) => { @@ -14,9 +16,9 @@ export const ListItemRaw = pure((_props: any) => { const inner = href ? ( - + {children} - + ) : children ;