Fix custom homepage

This commit is contained in:
Ben van Hartingsveldt 2025-09-14 01:03:28 +02:00
parent 5896e7b33d
commit 3d80c493d3
No known key found for this signature in database
GPG key ID: 261AA214130CE7AB

View file

@ -6,7 +6,6 @@ import SUPPORTED_LANGUAGES from 'constants/supported_languages';
import { parseURI } from 'util/lbryURI'; import { parseURI } from 'util/lbryURI';
import moment from 'moment'; import moment from 'moment';
import { toCapitalCase } from 'util/string'; import { toCapitalCase } from 'util/string';
import { CUSTOM_HOMEPAGE } from 'config';
export type RowDataItem = { export type RowDataItem = {
title: any, title: any,
@ -167,7 +166,6 @@ export function GetLinksData(
} }
// ************************************************************************** // **************************************************************************
// @if CUSTOM_HOMEPAGE='false'
/* /*
const YOUTUBER_CHANNEL_IDS = [ const YOUTUBER_CHANNEL_IDS = [
@ -301,7 +299,7 @@ export function GetLinksData(
}, },
}; };
if (isHomepage && !CUSTOM_HOMEPAGE) { if (isHomepage && true) {
if (followedTags) { if (followedTags) {
const TRENDING_FOR_TAGS = { const TRENDING_FOR_TAGS = {
title: __('Trending For Your Tags'), title: __('Trending For Your Tags'),
@ -336,7 +334,7 @@ export function GetLinksData(
} }
} }
if (!CUSTOM_HOMEPAGE) { if (true) {
rowData.push(TOP_CONTENT_TODAY); rowData.push(TOP_CONTENT_TODAY);
if (language !== 'en') { if (language !== 'en') {
rowData.push(LANGUAGE_CATEGORY); rowData.push(LANGUAGE_CATEGORY);