diff --git a/app.vue b/app.vue index 245b7840..f6175ea8 100644 --- a/app.vue +++ b/app.vue @@ -17,7 +17,7 @@ if (typeof window !== 'undefined') { const web3Store = useWeb3Store() const appStore = useAppStore() const { providerEvents, disconnect } = useBrowserExtension() -const { setLoading, setAddress, setProfile, reloadProfile } = useProfileStore() +const { setStatus, setAddress, setProfile, reloadProfile } = useProfileStore() const { setIsConnected, setConnectedAddress, setConnectedProfile } = useConnectionStore() const router = useRouter() @@ -60,7 +60,7 @@ const setupWalletProfile = async () => { try { const profileAddress = useRouter().currentRoute.value.params?.profileAddress - setLoading(true) + setStatus('isProfileLoading', true) assertAddress(profileAddress, 'wallet') setAddress(profileAddress) const profile = await fetchProfile(profileAddress) @@ -69,7 +69,7 @@ const setupWalletProfile = async () => { console.error(error) // TODO redirect to 404 page once it's added } finally { - setLoading(false) + setStatus('isProfileLoading', false) } } @@ -125,8 +125,8 @@ onMounted(async () => { setupTranslations() setupWeb3Instances() checkConnectionExpiry() - await setupConnectedProfile() await setupWalletProfile() + await setupConnectedProfile() await routerBackProfileLoad() }) diff --git a/components/lsp7AssetList.vue b/components/lsp7AssetList.vue deleted file mode 100644 index c65e9732..00000000 --- a/components/lsp7AssetList.vue +++ /dev/null @@ -1,19 +0,0 @@ - - - diff --git a/components/lsp8AssetCard.vue b/components/nftCard.vue similarity index 64% rename from components/lsp8AssetCard.vue rename to components/nftCard.vue index dc16ff51..05d7cf2e 100644 --- a/components/lsp8AssetCard.vue +++ b/components/nftCard.vue @@ -1,8 +1,9 @@