From fd1ee7cef3ff6ec408b91d7b66f912c8842f91fc Mon Sep 17 00:00:00 2001 From: derHowie Date: Mon, 23 Dec 2024 17:32:54 -0500 Subject: [PATCH] chore: add trending tokens flag to remote config.ts --- src/model/remoteConfig.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/model/remoteConfig.ts b/src/model/remoteConfig.ts index 3341a3a0000..5d0075bfe0a 100644 --- a/src/model/remoteConfig.ts +++ b/src/model/remoteConfig.ts @@ -151,6 +151,7 @@ export const DEFAULT_CONFIG: RainbowConfig = { nfts_enabled: true, trending_tokens_limit: 10, + trending_tokens_enabled: false, }; export async function fetchRemoteConfig(): Promise { @@ -206,7 +207,8 @@ export async function fetchRemoteConfig(): Promise { key === 'degen_mode' || key === 'featured_results' || key === 'claimables' || - key === 'nfts_enabled' + key === 'nfts_enabled' || + key === 'trending_tokens_enabled' ) { config[key] = entry.asBoolean(); } else if (key === 'trending_tokens_limit') {