From eced58701dda46a1f6e24c1cfd02151645f8e543 Mon Sep 17 00:00:00 2001 From: David Baker Date: Wed, 5 Sep 2018 20:34:03 +0100 Subject: [PATCH] Lint --- src/Registration.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Registration.js b/src/Registration.js index b3da7acb1e..a24a2d87f6 100644 --- a/src/Registration.js +++ b/src/Registration.js @@ -29,6 +29,10 @@ import { _t } from './languageHandler'; /** * Starts either the ILAG or full registration flow, depending * on what the HS supports + * + * @param {object} options + * @param {bool} options.go_home_on_cancel If true, goes to + * the hame page if the user cancels the action */ export async function startAnyRegistrationFlow(options) { if (options === undefined) options = {}; @@ -70,7 +74,7 @@ export async function startAnyRegistrationFlow(options) { } else if (options.go_home_on_cancel) { dis.dispatch({action: 'view_home_page'}); } - } + }, }); } }