Enable tile layout for 'Your Tags' page
## Why - Something I miss every time I switch to lbry.tv. - Consistent with other search pages like Discover.
This commit is contained in:
parent
4760f00050
commit
a0ec5097d9
2 changed files with 11 additions and 1 deletions
|
@ -3,11 +3,14 @@ import { selectFollowedTags } from 'redux/selectors/tags';
|
|||
import { selectUserVerifiedEmail } from 'redux/selectors/user';
|
||||
import { selectSubscriptions } from 'redux/selectors/subscriptions';
|
||||
import DiscoverPage from './view';
|
||||
import { makeSelectClientSetting } from 'redux/selectors/settings';
|
||||
import { SETTINGS } from 'lbry-redux';
|
||||
|
||||
const select = state => ({
|
||||
followedTags: selectFollowedTags(state),
|
||||
subscribedChannels: selectSubscriptions(state),
|
||||
email: selectUserVerifiedEmail(state),
|
||||
tileLayout: makeSelectClientSetting(SETTINGS.TILE_LAYOUT)(state),
|
||||
});
|
||||
|
||||
const perform = {};
|
||||
|
|
|
@ -8,7 +8,13 @@ import Button from 'component/button';
|
|||
import Icon from 'component/common/icon';
|
||||
import * as CS from 'constants/claim_search';
|
||||
|
||||
function TagsFollowingPage() {
|
||||
type Props = {
|
||||
tileLayout: boolean,
|
||||
};
|
||||
|
||||
function TagsFollowingPage(props: Props) {
|
||||
const { tileLayout } = props;
|
||||
|
||||
return (
|
||||
<Page noFooter fullWidthPage>
|
||||
<ClaimListDiscover
|
||||
|
@ -20,6 +26,7 @@ function TagsFollowingPage() {
|
|||
}
|
||||
personalView
|
||||
defaultTags={CS.TAGS_FOLLOWED}
|
||||
tileLayout={tileLayout}
|
||||
meta={
|
||||
<Button
|
||||
button="secondary"
|
||||
|
|
Loading…
Reference in a new issue