From 40b650bcd980129f905ec84015753342d35441eb Mon Sep 17 00:00:00 2001 From: Jorge Vallecillo Date: Mon, 5 Oct 2020 13:07:20 -0600 Subject: [PATCH] Fix typo in 3 files: consecutive occurrences of 'the' (#4871) --- app/mm-redux/actions/posts.ts | 2 +- app/mm-redux/utils/helpers.ts | 2 +- detox/e2e/support/server_api/post.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/mm-redux/actions/posts.ts b/app/mm-redux/actions/posts.ts index 42085e8fb..e314b3ab5 100644 --- a/app/mm-redux/actions/posts.ts +++ b/app/mm-redux/actions/posts.ts @@ -101,7 +101,7 @@ export function receivedPostsSince(posts: Array, channelId: string) { } // receivedPostsInChannel should be dispatched when receiving a list of ordered posts within a channel when the -// the adjacent posts are not known. +// adjacent posts are not known. export function receivedPostsInChannel(posts: CombinedPostList, channelId: string, recent = false, oldest = false) { return { type: PostTypes.RECEIVED_POSTS_IN_CHANNEL, diff --git a/app/mm-redux/utils/helpers.ts b/app/mm-redux/utils/helpers.ts index 318a12be7..da6d53a97 100644 --- a/app/mm-redux/utils/helpers.ts +++ b/app/mm-redux/utils/helpers.ts @@ -30,7 +30,7 @@ export const createIdsSelector = reselect.createSelectorCreator(memoizeResult); // Use this selector when you want a shallow comparison of the arguments and you don't need to memoize the result export const createShallowSelector = reselect.createSelectorCreator(reselect.defaultMemoize, shallowEqual as any); -// isMinimumServerVersion will return true if currentVersion is equal to higher or than the +// isMinimumServerVersion will return true if currentVersion is equal to higher or than // the provided minimum version. A non-equal major version will ignore minor and dot // versions, and a non-equal minor version will ignore dot version. // currentVersion is a string, e.g '4.6.0' diff --git a/detox/e2e/support/server_api/post.js b/detox/e2e/support/server_api/post.js index 99bf5a9f7..af4fdda63 100644 --- a/detox/e2e/support/server_api/post.js +++ b/detox/e2e/support/server_api/post.js @@ -38,7 +38,7 @@ export const apiGetPostsInChannel = async (channelId) => { /** * Get last post in a channel. - * @param {string} channelId - The channel ID to get the the last post + * @param {string} channelId - The channel ID to get the last post * @return {Object} returns {post} on success or {error, status} on error */ export const apiGetLastPostInChannel = async (channelId) => {