Skip to content

Commit 0da5333

Browse files
committed
fix: lint
1 parent 7aaa8e4 commit 0da5333

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

ui/components/multichain-accounts/multichain-account-network-group/multichain-account-network-group.tsx

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,19 @@ export type MultichainAccountNetworkGroupProps = {
3333
};
3434

3535
/**
36-
* A reusable component that displays a group of network avatars
37-
* Can fetch networks based on account group ID or accept explicit chain IDs
38-
* Handles conversion from CAIP chain IDs to hex format for EVM chains
36+
* A reusable component that displays a group of network avatars.
37+
* Can fetch networks based on account group ID or accept explicit chain IDs.
38+
* Handles conversion from CAIP chain IDs to hex format for EVM chains.
39+
*
40+
* @param props - The component props
41+
* @param props.groupId - The account group ID to fetch networks for. When provided, fetches chain IDs from the account group.
42+
* @param props.chainIds - Array of specific chain IDs to display. Behavior depends on groupId:
43+
* - If provided with groupId: shows only chains that exist in both the group and this list (intersection)
44+
* - If provided without groupId: shows only these specific chains
45+
* @param props.excludeTestNetworks - Whether to exclude test networks from display. Defaults to true.
46+
* @param props.limit - Maximum number of avatars to display before showing "+X" indicator. Defaults to 4.
47+
* @param props.className - Optional CSS class name for additional styling
48+
* @returns A React component displaying network avatars in a group
3949
*/
4050
export const MultichainAccountNetworkGroup: React.FC<
4151
MultichainAccountNetworkGroupProps

ui/components/multichain-accounts/multichain-address-rows-hovered-list/multichain-aggregated-list-row.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ import { getNetworksByScopes } from '../../../../shared/modules/selectors/networ
2020
import { ButtonIcon, IconName } from '../../component-library';
2121
import { IconColor } from '../../../helpers/constants/design-system';
2222
import { MultichainAccountNetworkGroup } from '../multichain-account-network-group';
23+
// eslint-disable-next-line import/no-restricted-paths
2324
import { normalizeSafeAddress } from '../../../../app/scripts/lib/multichain/address';
2425

2526
type MultichainAggregatedAddressListRowProps = {

0 commit comments

Comments
 (0)