Commit 343a6228 authored by Emily Jensen's avatar Emily Jensen

Removed changeDetection

parent 5f67ea5f
import { Component, ChangeDetectionStrategy, OnInit } from "@angular/core";
import { Component, OnInit } from "@angular/core";
import * as fromAccount from "../../account.reducer";
import { Store, select } from "@ngrx/store";
import {
......@@ -18,7 +18,6 @@ import { BACKUP_CODE_CHARS, BACKUP_CODE_LENGTH } from "../constants";
(verify)="verify($event)"
></app-reset-password-verify>
`,
changeDetection: ChangeDetectionStrategy.OnPush
})
export class ResetPasswordVerifyContainer implements OnInit {
form$ = this.store.pipe(select(fromAccount.getResetPasswordVerifyForm));
......@@ -51,6 +50,7 @@ export class ResetPasswordVerifyContainer implements OnInit {
this.store.dispatch(new VerifyAndLogin(backupCode));
} else {
this.store.dispatch(new SetError("Invalid backup code"));
console.log("Wonky backup code");
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment