Make the login screen's Restore and Import links accessible (#9746)

feature/default_network_editable
David Walsh 4 years ago committed by GitHub
parent 107ef3559c
commit 5f828b4f41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      ui/app/pages/unlock-page/index.scss
  2. 8
      ui/app/pages/unlock-page/unlock-page.component.js

@ -40,6 +40,9 @@
&__link { &__link {
cursor: pointer; cursor: pointer;
background-color: unset;
color: unset;
font-size: unset;
&--import { &--import {
color: $ecstasy; color: $ecstasy;

@ -168,15 +168,15 @@ export default class UnlockPage extends Component {
</form> </form>
{this.renderSubmitButton()} {this.renderSubmitButton()}
<div className="unlock-page__links"> <div className="unlock-page__links">
<div className="unlock-page__link" onClick={() => onRestore()}> <button className="unlock-page__link" onClick={() => onRestore()}>
{t('restoreFromSeed')} {t('restoreFromSeed')}
</div> </button>
<div <button
className="unlock-page__link unlock-page__link--import" className="unlock-page__link unlock-page__link--import"
onClick={() => onImport()} onClick={() => onImport()}
> >
{t('importUsingSeed')} {t('importUsingSeed')}
</div> </button>
</div> </div>
</div> </div>
</div> </div>

Loading…
Cancel
Save