From 3058dbb4a65b7a42244528d9ad7c445a6a4e7581 Mon Sep 17 00:00:00 2001 From: Franco Montenegro Date: Mon, 21 Feb 2022 10:08:17 -0300 Subject: [PATCH] Fix typos. --- ui/component/app/index.js | 4 ++-- ui/redux/selectors/app.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ui/component/app/index.js b/ui/component/app/index.js index d6aca8a9b..4726fe72c 100644 --- a/ui/component/app/index.js +++ b/ui/component/app/index.js @@ -19,7 +19,7 @@ import { selectAutoUpdateDownloaded, selectModal, selectActiveChannelClaim, - selectIsUpdateModelDisplayed, + selectIsUpdateModalDisplayed, } from 'redux/selectors/app'; import { doGetWalletSyncPreference, doSetLanguage } from 'redux/actions/settings'; import { doSyncLoop } from 'redux/actions/sync'; @@ -51,7 +51,7 @@ const select = (state) => ({ myChannelUrls: selectMyChannelUrls(state), myChannelClaimIds: selectMyChannelClaimIds(state), subscriptions: selectSubscriptions(state), - isUpdateModalDisplayed: selectIsUpdateModelDisplayed(state), + isUpdateModalDisplayed: selectIsUpdateModalDisplayed(state), }); const perform = (dispatch) => ({ diff --git a/ui/redux/selectors/app.js b/ui/redux/selectors/app.js index 6f9ae7839..4656d3c92 100644 --- a/ui/redux/selectors/app.js +++ b/ui/redux/selectors/app.js @@ -52,7 +52,7 @@ export const selectAutoUpdateDownloaded = createSelector(selectState, (state) => export const selectAutoUpdateDeclined = createSelector(selectState, (state) => state.autoUpdateDeclined); -export const selectIsUpdateModelDisplayed = createSelector(selectState, (state) => { +export const selectIsUpdateModalDisplayed = createSelector(selectState, (state) => { return state.modal === AUTO_UPDATE_DOWNLOADED; });