Add tags to publish page, infinite scroll, navigation improvements #2593
4 changed files with 20 additions and 3 deletions
|
@ -77,10 +77,10 @@ const Button = forwardRef<any, {}>((props: Props, ref: any) => {
|
|||
|
||||
const content = (
|
||||
<span className="button__content">
|
||||
{icon && <Icon icon={icon} iconColor={iconColor} size={iconSize} />}
|
||||
{icon && <Icon icon={icon} size={iconSize} />}
|
||||
{label && <span className="button__label">{label}</span>}
|
||||
{children && children}
|
||||
{iconRight && <Icon icon={iconRight} iconColor={iconColor} size={iconSize} />}
|
||||
{iconRight && <Icon icon={iconRight} size={iconSize} />}
|
||||
</span>
|
||||
);
|
||||
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
import { connect } from 'react-redux';
|
||||
import { selectFollowedTags } from 'lbry-redux';
|
||||
import { selectSubscriptions } from 'redux/selectors/subscriptions';
|
||||
import TagsEdit from './view';
|
||||
|
||||
const select = state => ({
|
||||
followedTags: selectFollowedTags(state),
|
||||
subscribedChannels: selectSubscriptions(state),
|
||||
});
|
||||
|
||||
const perform = {};
|
||||
|
||||
export default connect(
|
||||
select,
|
||||
perform
|
||||
)(TagsEdit);
|
|
@ -73,7 +73,8 @@ export default function SubscriptionsPage(props: Props) {
|
|||
onClick={() => onClick()}
|
||||
/>
|
||||
}
|
||||
uris={viewingSuggestedSubs ? suggestedSubscriptions.map(sub => sub.uri) : uris}
|
||||
// Fix the need to reverse this
|
||||
uris={viewingSuggestedSubs ? suggestedSubscriptions.map(sub => sub.uri) : uris.reverse()}
|
||||
/>
|
||||
</div>
|
||||
</Page>
|
||||
|
|
Loading…
Reference in a new issue