import { Atom } from 'jotai' ; import { ContractPrincipal } from '@app/common/asset-types' ; export function debugLabelWithContractPrincipal ( atom , key , contractPrincipal ) { atom . debugLabel = `${ key }/${ contractPrincipal . networkUrl }/${ contractPrincipal . contractAddress }.${ contractPrincipal . contractName }` ; }