From ed96e53d39fb18fdee84a5df5e180172c1f0500a Mon Sep 17 00:00:00 2001 From: alecdwm Date: Thu, 7 Dec 2023 06:13:18 +0000 Subject: [PATCH] fix: show updateTokenRates warning in function docstring --- apps/extension/src/core/domains/tokenRates/store.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/extension/src/core/domains/tokenRates/store.ts b/apps/extension/src/core/domains/tokenRates/store.ts index c4be3a21e6..1605f35080 100644 --- a/apps/extension/src/core/domains/tokenRates/store.ts +++ b/apps/extension/src/core/domains/tokenRates/store.ts @@ -89,7 +89,9 @@ export class TokenRatesStore { } } - // warning : make sure the tokens list only includes enabled tokens + /** + * WARNING: Make sure the tokens list `tokens` only includes enabled tokens. + */ private async updateTokenRates(tokens: TokenList): Promise { const now = Date.now() const strTokenIds = Object.keys(tokens ?? {}).join(",")