if (typeof window.klaytn !== 'undefined') {
const provider = window['klaytn']
// kaia user detected. You can now use the provider.
try {
const accounts = await window.klaytn.enable()
const walletAddress = accounts[0]
// alert(walletAddress)
} catch (error) {
console.log(error)
}
vue 3 사용중이고 데스크톱 환경에서는 연결이 잘 됩니다. 하지만 모바일(카이아 지갑 내부 브라우저)에서 시도했을 때 자꾸 catch에 걸리네요. 또 이상한건 아이폰은 모바일 환경에서도 잘 작동이 됩니다,