Commit 198cbf1f authored by Emily Jensen's avatar Emily Jensen

Renamed variable

parent 24fb6f21
......@@ -368,7 +368,7 @@ export const manageBackupCodeHasFinished = createSelector(
fromManageBackupCode.getHasFinished
);
export const manageBackupCodeNewBackupCode = createSelector(
export const selectManageBackupCodeNewBackupCode = createSelector(
selectManageBackupCodeForm,
fromManageBackupCode.getNewBackupCode
);
......
......@@ -2,7 +2,7 @@ import { Component, ChangeDetectionStrategy } from "@angular/core";
import * as fromAccount from "../account.reducer";
import { Store, select } from "@ngrx/store";
import { SubmitForm, ResetForm } from "./manage-backup-code.actions";
import { manageBackupCodeNewBackupCode } from "../account.reducer";
import { selectManageBackupCodeNewBackupCode } from "../account.reducer";
import { BackupCodePdfService } from "../backup-code-pdf.service";
@Component({
......@@ -32,7 +32,7 @@ export class ManageBackupCodeContainer {
private backupCodeToPdf: BackupCodePdfService
) {
this.store
.select(manageBackupCodeNewBackupCode)
.select(selectManageBackupCodeNewBackupCode)
.subscribe(backupCode => (this.backupCode = backupCode));
}
......
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