fix: update CheatsView to import utilities from @harb/utils

isRecord, coerceString, getErrorMessage, ensureAddress were removed
from useSwapKrk.ts but CheatsView.vue still imported them from there.
Update CheatsView to import from @harb/utils directly.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
openhands 2026-03-03 05:54:29 +00:00
parent 59ae30bb37
commit e866266511

View file

@ -151,15 +151,8 @@ import {
type Abi,
type EIP1193Provider,
} from 'viem';
import {
SWAP_ROUTER_ABI,
UNISWAP_FACTORY_ABI,
UNISWAP_POOL_ABI,
isRecord,
coerceString,
getErrorMessage,
ensureAddress,
} from '@/composables/useSwapKrk';
import { SWAP_ROUTER_ABI, UNISWAP_FACTORY_ABI, UNISWAP_POOL_ABI } from '@/composables/useSwapKrk';
import { isRecord, coerceString, getErrorMessage, ensureAddress } from '@harb/utils';
const toast = useToast();
const statCollection = useStatCollection();