From 9691a6ab9217cf5a41c77e8da6591eeb5df534d3 Mon Sep 17 00:00:00 2001 From: Alexander Skvortsov Date: Mon, 10 Aug 2020 00:48:48 -0400 Subject: [PATCH] SignupModal: rename props to attrs --- js/src/forum/components/SignUpModal.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/src/forum/components/SignUpModal.js b/js/src/forum/components/SignUpModal.js index 9b1b37d4d..0c5f162f1 100644 --- a/js/src/forum/components/SignUpModal.js +++ b/js/src/forum/components/SignUpModal.js @@ -8,7 +8,7 @@ import ItemList from '../../common/utils/ItemList'; /** * The `SignUpModal` component displays a modal dialog with a singup form. * - * ### Props + * ### Attrs * * - `username` * - `email` @@ -140,12 +140,12 @@ export default class SignUpModal extends Modal { * @public */ logIn() { - const props = { + const attrs = { identification: this.email() || this.username(), password: this.password(), }; - app.modal.show(LogInModal, props); + app.modal.show(LogInModal, attrs); } onready() {