diff --git a/src/ui/component/claimList/view.jsx b/src/ui/component/claimList/view.jsx index 8458175ca..c8f742e4f 100644 --- a/src/ui/component/claimList/view.jsx +++ b/src/ui/component/claimList/view.jsx @@ -26,8 +26,8 @@ type Props = { export default function ClaimList(props: Props) { const { uris, headerAltControls, injectedItem, loading, persistedStorageKey, empty, meta, type, header } = props; const [currentSort, setCurrentSort] = usePersistedState(persistedStorageKey, SORT_NEW); - const sortedUris = uris && currentSort === SORT_NEW ? uris.slice().reverse() : uris; const hasUris = uris && !!uris.length; + const sortedUris = (hasUris && (currentSort === SORT_NEW ? uris : uris.slice().reverse())) || []; function handleSortChange() { setCurrentSort(currentSort === SORT_NEW ? SORT_OLD : SORT_NEW); diff --git a/src/ui/component/subscribeButton/view.jsx b/src/ui/component/subscribeButton/view.jsx index 034845107..776b1de7b 100644 --- a/src/ui/component/subscribeButton/view.jsx +++ b/src/ui/component/subscribeButton/view.jsx @@ -34,7 +34,7 @@ export default function SubscribeButton(props: Props) { } = props; const subscriptionHandler = isSubscribed ? doChannelUnsubscribe : doChannelSubscribe; - const subscriptionLabel = isSubscribed ? __('Subscribed') : __('Subscribe'); + const subscriptionLabel = isSubscribed ? __('Following') : __('Follow'); const { claimName } = parseURI(uri); @@ -57,7 +57,7 @@ export default function SubscribeButton(props: Props) { }); if (showSnackBarOnSubscribe) { - doToast({ message: `${__('Successfully subscribed to')} ${claimName}!` }); + doToast({ message: `${__('Now following ')} ${claimName}!` }); } }} /> diff --git a/src/ui/page/subscriptions/view.jsx b/src/ui/page/subscriptions/view.jsx index 3b1dccf75..193098d70 100644 --- a/src/ui/page/subscriptions/view.jsx +++ b/src/ui/page/subscriptions/view.jsx @@ -69,12 +69,11 @@ export default function SubscriptionsPage(props: Props) { headerAltControls={