From d87cbe7dd1dde03f317b23dce916f1767520154a Mon Sep 17 00:00:00 2001 From: Yusef Habib Fernandez Date: Wed, 4 Dec 2024 14:46:46 +0100 Subject: [PATCH] add comments --- frontend/src/lib/stores/sns-aggregator.store.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/lib/stores/sns-aggregator.store.ts b/frontend/src/lib/stores/sns-aggregator.store.ts index cf399ce9e55..82f8cf2157c 100644 --- a/frontend/src/lib/stores/sns-aggregator.store.ts +++ b/frontend/src/lib/stores/sns-aggregator.store.ts @@ -76,7 +76,7 @@ const fixBrokenSnsMetadataBasedOnId = ( ): CachedSnsDto & { isAbandoned?: boolean } => { const override = brokenSnsOverrides[sns.list_sns_canisters.root]; - // Required for the tokens and stakin routes + // Required for the tokens and staking routes as they apply their own sort logic const hiddenCharacterToPushSnsToEndOfList = "\u200B"; if (!nonNullish(override)) return sns; const newMeta = { @@ -106,7 +106,7 @@ const fixBrokenSnsMetadataBasedOnId = ( }; }; -// Required for the proposals route +// Required for the proposals route as it doesnt apply sort logic const sortedListBasedOnAbandoned = ( list: (CachedSnsDto & { isAbandoned?: boolean })[] ) => [