diff --git a/ui/component/channelContent/index.js b/ui/component/channelContent/index.js index 29cfaadc5..00ea2fab2 100644 --- a/ui/component/channelContent/index.js +++ b/ui/component/channelContent/index.js @@ -28,6 +28,7 @@ const select = (state, props) => { claim: props.uri && makeSelectClaimForUri(props.uri)(state), isAuthenticated: selectUserVerifiedEmail(state), showMature: makeSelectClientSetting(SETTINGS.SHOW_MATURE)(state), + tileLayout: makeSelectClientSetting(SETTINGS.TILE_LAYOUT)(state), }; }; diff --git a/ui/component/channelContent/view.jsx b/ui/component/channelContent/view.jsx index dcdc04737..e1ce8c8c8 100644 --- a/ui/component/channelContent/view.jsx +++ b/ui/component/channelContent/view.jsx @@ -29,6 +29,7 @@ type Props = { claim: ?Claim, isAuthenticated: boolean, showMature: boolean, + tileLayout: boolean, }; function ChannelContent(props: Props) { @@ -43,6 +44,7 @@ function ChannelContent(props: Props) { defaultPageSize = CS.PAGE_SIZE, defaultInfiniteScroll = true, showMature, + tileLayout, } = props; const claimsInChannel = (claim && claim.meta.claims_in_channel) || 0; const [searchQuery, setSearchQuery] = React.useState(''); @@ -122,6 +124,7 @@ function ChannelContent(props: Props) { {claim && claimsInChannel > 0 ? (