diff --git a/components/send-success.vue b/components/SendSuccess.vue
similarity index 96%
rename from components/send-success.vue
rename to components/SendSuccess.vue
index f4a55ee8..ca21146a 100644
--- a/components/send-success.vue
+++ b/components/SendSuccess.vue
@@ -10,7 +10,7 @@ const handleSendMore = () => {
diff --git a/components/tokens-list.vue b/components/TokenList.vue
similarity index 76%
rename from components/tokens-list.vue
rename to components/TokenList.vue
index 3de4e1ae..efa19592 100644
--- a/components/tokens-list.vue
+++ b/components/TokenList.vue
@@ -3,7 +3,7 @@ import { storeToRefs } from 'pinia'
import { AssetFilter } from '@/types/assets'
-const { tokens, assetFilter } = storeToRefs(useProfileStore())
+const { tokens, assetFilter } = storeToRefs(useViewedProfileStore())
@@ -12,8 +12,8 @@ const { tokens, assetFilter } = storeToRefs(useProfileStore())
{{ $formatMessage('tokens_title') }}
-
-
+
import { fromWei } from 'web3-utils'
-import { sendRoute, tokenRoute } from '@/shared/routes'
import { Token, StandardsAbbreviations } from '@/types/assets'
type Props = {
@@ -12,8 +11,8 @@ type Props = {
const props = defineProps()
-const { profile: connectedProfile, status } = useConnectionStore()
-const { profile: viewedProfile } = useProfileStore()
+const { profile: connectedProfile, status } = useConnectedProfileStore()
+const { profile: viewedProfile } = useViewedProfileStore()
const handleShowAsset = () => {
if (!props.isOpenable) {
diff --git a/components/lyx-card.vue b/components/TokenListLyxCard.vue
similarity index 63%
rename from components/lyx-card.vue
rename to components/TokenListLyxCard.vue
index aa039231..8517c840 100644
--- a/components/lyx-card.vue
+++ b/components/TokenListLyxCard.vue
@@ -1,10 +1,8 @@
diff --git a/layouts/landing.vue b/layouts/landing.vue
index 2685d9fb..9bd4ec09 100644
--- a/layouts/landing.vue
+++ b/layouts/landing.vue
@@ -2,8 +2,8 @@
diff --git a/nuxt.config.ts b/nuxt.config.ts
index 3a83970c..faf33116 100644
--- a/nuxt.config.ts
+++ b/nuxt.config.ts
@@ -101,7 +101,7 @@ export default defineNuxtConfig({
},
},
imports: {
- dirs: ['stores'],
+ dirs: ['stores/**', 'shared/**'],
},
runtimeConfig: {
public: {},
diff --git a/package.json b/package.json
index 2bce7701..c3f056e0 100644
--- a/package.json
+++ b/package.json
@@ -29,9 +29,9 @@
"@erc725/erc725.js": "0.18.0",
"@esbuild-plugins/node-globals-polyfill": "0.2.3",
"@formatjs/intl": "^2.9.0",
- "@lukso/lsp-factory.js": "3.0.0",
- "@lukso/lsp-smart-contracts": "^0.11.1",
- "@lukso/web-components": "^1.33.1",
+ "@lukso/lsp-factory.js": "3.1.1",
+ "@lukso/lsp-smart-contracts": "0.11.1",
+ "@lukso/web-components": "1.34.1",
"@nuxt/devtools": "^0.7.4",
"@nuxtjs/device": "^3.1.0",
"@nuxtjs/plausible": "^0.2.1",
diff --git a/pages/[...404].vue b/pages/404.vue
similarity index 96%
rename from pages/[...404].vue
rename to pages/404.vue
index 74ab851e..19417d56 100644
--- a/pages/[...404].vue
+++ b/pages/404.vue
@@ -1,6 +1,4 @@
@@ -42,7 +64,7 @@ const nftsCount = computed(() => {
size="small"
variant="secondary"
:is-active="assetFilter === AssetFilter.owned ? true : undefined"
- :count="tokensCount"
+ :count="ownedAssetsCount"
@click="assetFilter = AssetFilter.owned"
>{{ $formatMessage('asset_filter_owned_assets') }}
@@ -52,13 +74,24 @@ const nftsCount = computed(() => {
:is-active="
assetFilter === AssetFilter.created ? true : undefined
"
- :count="nftsCount"
+ :count="createdAssetsCount"
@click="assetFilter = AssetFilter.created"
>{{ $formatMessage('asset_filter_created_assets') }}
-
-
+
+
+
+ {{ $formatMessage('assets_empty_state_title') }}
+
+
+
+
+
+
+
diff --git a/pages/[profileAddress]/nft/[nftAddress]/tokenId/[tokenId].vue b/pages/[profileAddress]/nft/[nftAddress]/tokenId/[tokenId].vue
index cd42da13..5abfcbde 100644
--- a/pages/[profileAddress]/nft/[nftAddress]/tokenId/[tokenId].vue
+++ b/pages/[profileAddress]/nft/[nftAddress]/tokenId/[tokenId].vue
@@ -8,9 +8,9 @@ const {
getNft,
status: profileStatus,
profile: viewedProfile,
-} = useProfileStore()
+} = useViewedProfileStore()
const { status: connectionStatus, profile: connectedProfile } =
- useConnectionStore()
+ useConnectedProfileStore()
const nft = ref
()
watchEffect(() => {
@@ -112,7 +112,11 @@ watchEffect(() => {
"
:images="nft.data.collectionImages"
/>
-
+