1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

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

This commit is contained in:
David Walsh 2020-11-03 13:42:47 -06:00 committed by GitHub
parent 107ef3559c
commit 5f828b4f41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 4 deletions

View File

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

View File

@ -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>