Skip to content

Commit

Permalink
add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
yhabib committed Dec 4, 2024
1 parent f656199 commit d87cbe7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/lib/stores/sns-aggregator.store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down Expand Up @@ -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 })[]
) => [
Expand Down

0 comments on commit d87cbe7

Please sign in to comment.