diff --git a/resources/js/store/connection.ts b/resources/js/store/connection.ts index aa86edb..fd84cb1 100644 --- a/resources/js/store/connection.ts +++ b/resources/js/store/connection.ts @@ -9,6 +9,7 @@ import { wcNamespaces, wcProjectId } from '~/util/constants'; import { useAppStore } from '.'; import snackbar from '~/util/snackbar'; import { Web3Modal, Web3ModalConfig } from '@web3modal/standalone'; +import { publicKeyToAddress } from '~/util/address'; export const PrivacyPolicyLink = 'https://nft.io/legal/privacy-policy'; export const TermsOfServiceLink = 'https://nft.io/legal/terms-of-service'; diff --git a/resources/js/store/index.ts b/resources/js/store/index.ts index 0873ea5..76d16a5 100644 --- a/resources/js/store/index.ts +++ b/resources/js/store/index.ts @@ -6,6 +6,7 @@ import appConfig from '~/config.json'; import { defineStore } from 'pinia'; import snackbar from '~/util/snackbar'; import { useConnectionStore } from './connection'; +import { publicKeyToAddress } from '~/util/address'; const parseConfigURL = (url: string): URL => { return new URL(url);