diff --git a/src/actions/GroupActions.js b/src/actions/GroupActions.js index f3337eda25..d41d82d8bf 100644 --- a/src/actions/GroupActions.js +++ b/src/actions/GroupActions.js @@ -19,11 +19,11 @@ import { asyncAction } from './actionCreators'; const GroupActions = {}; /** - * Create a GroupActions.fetchJoinedGroups action that represents an - * asyncronous request to fetch the groups to which a user is joined. + * Create a GroupActions.fetchJoinedGroups action that represents an + * asynchronous request to fetch the groups to which a user is joined. * * @param {MatrixClient} matrixClient the matrix client to query. - * @returns {function} an asyncronous action of type + * @returns {function} an asynchronous action of type * GroupActions.fetchJoinedGroups. */ GroupActions.fetchJoinedGroups = function(matrixClient) { diff --git a/src/actions/TagOrderActions.js b/src/actions/TagOrderActions.js index 00f724d9a2..038cda1b35 100644 --- a/src/actions/TagOrderActions.js +++ b/src/actions/TagOrderActions.js @@ -27,7 +27,7 @@ const TagOrderActions = {}; * * @param {MatrixClient} matrixClient the matrix client to set the account * data on. - * @returns {function} an asyncronous action of type + * @returns {function} an asynchronous action of type * TagOrderActions.commitTagOrdering. */ TagOrderActions.commitTagOrdering = function(matrixClient) { diff --git a/src/actions/actionCreators.js b/src/actions/actionCreators.js index 624401b9ce..bebd368f95 100644 --- a/src/actions/actionCreators.js +++ b/src/actions/actionCreators.js @@ -21,8 +21,8 @@ limitations under the License. * suffix determining whether it is pending, successful or * a failure. * @param {function} fn a function that returns a Promise. - * @returns {function} an asyncronous action creator - a function that uses its - * single argument as a dispatch function. + * @returns {function} an asynchronous action creator - a function that uses + * its single argument as a dispatch function. */ export function asyncAction(id, fn) { return (dispatch) => {