Skip to content

Commit 9225e67

Browse files
derHowieBrodyHughes
authored andcommitted
chore: add trending tokens flag to remote config.ts (#6373)
(cherry picked from commit 9f4c71f)
1 parent ef4037e commit 9225e67

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/model/remoteConfig.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ export const DEFAULT_CONFIG: RainbowConfig = {
151151
nfts_enabled: true,
152152

153153
trending_tokens_limit: 10,
154+
trending_tokens_enabled: false,
154155
};
155156

156157
export async function fetchRemoteConfig(): Promise<RainbowConfig> {
@@ -206,7 +207,8 @@ export async function fetchRemoteConfig(): Promise<RainbowConfig> {
206207
key === 'degen_mode' ||
207208
key === 'featured_results' ||
208209
key === 'claimables' ||
209-
key === 'nfts_enabled'
210+
key === 'nfts_enabled' ||
211+
key === 'trending_tokens_enabled'
210212
) {
211213
config[key] = entry.asBoolean();
212214
} else if (key === 'trending_tokens_limit') {

0 commit comments

Comments
 (0)