Skip to content

Commit

Permalink
feat(sso): add need help link back to exchange
Browse files Browse the repository at this point in the history
  • Loading branch information
TheLeoB committed Dec 11, 2021
1 parent 1599f1c commit 000cbcc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -219,9 +219,10 @@ type LinkStatePropsType = {
email: string
}
resetExchangePasswordR: RemoteDataType<string, null>
}
type Props = LinkStatePropsType & {
showHelpOptions: () => void
}
type Props = LinkStatePropsType & OwnProps

const enhance = compose(reduxForm<{}, Props>({ form: 'exchangePasswordReset' }), connector)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const Footer = styled.div`
`

class Help extends React.PureComponent<Props, State> {
constructor(props) {
constructor(props: Props) {
super(props)
this.state = {
showHelpOptions: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import { media } from 'services/styles'
import { Props } from '../..'
import {
ActionButton,
ExchangeNeedHelpLink,
LinkRow,
LoginFormLabel,
ProductTab,
Expand Down Expand Up @@ -92,6 +93,7 @@ const EnterEmail = (props: Props) => {
</ActionButton>
</LinkRow>
</WrapperWithPadding>
<ExchangeNeedHelpLink authActions={authActions} origin='IDENTIFIER' />
<SignUpLink />
</LoginWrapper>
)
Expand Down

0 comments on commit 000cbcc

Please sign in to comment.