From d97a23b69979dbed5c801c1d16f006cd51f04a64 Mon Sep 17 00:00:00 2001 From: infinite-persistence Date: Tue, 6 Jul 2021 09:29:46 +0800 Subject: [PATCH] Rename default import/exports for clarity in text search (no functional change) I believe it was just due to copy/pasting from another file and not renaming it. --- ui/component/channelContent/index.js | 4 ++-- ui/component/channelEdit/index.js | 4 ++-- ui/component/channelMuteButton/view.jsx | 10 +++------- ui/component/channelSelector/index.js | 6 +++--- ui/component/claimCollectionAddButton/index.js | 4 ++-- ui/component/collectionEdit/index.js | 4 ++-- ui/component/collectionMenuList/view.jsx | 4 ++-- ui/component/collectionPreviewOverlay/view.jsx | 4 ++-- ui/component/livestreamComment/view.jsx | 4 ++-- ui/component/livestreamComments/index.js | 4 ++-- ui/component/livestreamList/index.js | 4 ++-- ui/component/markdownLink/index.js | 6 +++--- ui/component/nagContinueFirstRun/index.js | 6 +++--- ui/component/notificationBubble/index.js | 4 ++-- ui/component/notificationContentChannelMenu/index.js | 4 ++-- ui/component/publishAdditionalOptions/index.js | 10 +++++----- ui/component/recommendedContent/index.js | 4 ++-- ui/page/settingsAdvanced/index.js | 12 ++++++------ ui/page/settingsAdvanced/view.jsx | 10 +++++----- ui/page/settingsNotifications/index.js | 8 ++++---- ui/page/settingsStripeCard/index.js | 8 ++++---- ui/page/settingsStripeCard/view.jsx | 4 ++-- 22 files changed, 62 insertions(+), 66 deletions(-) diff --git a/ui/component/channelContent/index.js b/ui/component/channelContent/index.js index 5338a7218..8d3bbc6fb 100644 --- a/ui/component/channelContent/index.js +++ b/ui/component/channelContent/index.js @@ -14,7 +14,7 @@ import { withRouter } from 'react-router'; import { selectUserVerifiedEmail } from 'redux/selectors/user'; import { makeSelectClientSetting, selectShowMatureContent } from 'redux/selectors/settings'; -import ChannelPage from './view'; +import ChannelContent from './view'; const select = (state, props) => { const { search } = props.location; @@ -37,4 +37,4 @@ const perform = (dispatch) => ({ doResolveUris: (uris, returnCachedUris) => dispatch(doResolveUris(uris, returnCachedUris)), }); -export default withRouter(connect(select, perform)(ChannelPage)); +export default withRouter(connect(select, perform)(ChannelContent)); diff --git a/ui/component/channelEdit/index.js b/ui/component/channelEdit/index.js index 3835fdf88..82618960f 100644 --- a/ui/component/channelEdit/index.js +++ b/ui/component/channelEdit/index.js @@ -17,7 +17,7 @@ import { } from 'lbry-redux'; import { doOpenModal } from 'redux/actions/app'; import { doUpdateBlockListForPublishedChannel } from 'redux/actions/comments'; -import ChannelPage from './view'; +import ChannelForm from './view'; const select = (state, props) => ({ claim: makeSelectClaimForUri(props.uri)(state), @@ -52,4 +52,4 @@ const perform = (dispatch) => ({ clearChannelErrors: () => dispatch(doClearChannelErrors()), }); -export default connect(select, perform)(ChannelPage); +export default connect(select, perform)(ChannelForm); diff --git a/ui/component/channelMuteButton/view.jsx b/ui/component/channelMuteButton/view.jsx index 2ffa6866b..a87478d7e 100644 --- a/ui/component/channelMuteButton/view.jsx +++ b/ui/component/channelMuteButton/view.jsx @@ -10,7 +10,7 @@ type Props = { doChannelUnmute: (string, boolean) => void, }; -function ChannelBlockButton(props: Props) { +function ChannelMuteButton(props: Props) { const { uri, doChannelMute, doChannelUnmute, isMuted } = props; function handleClick() { @@ -22,12 +22,8 @@ function ChannelBlockButton(props: Props) { } return ( -