Commit e2812141 authored by Max Alekseenko's avatar Max Alekseenko Committed by isstuev

rename apps to dapps

parent bf709de4
...@@ -193,7 +193,7 @@ export default function useNavItems(): ReturnType { ...@@ -193,7 +193,7 @@ export default function useNavItems(): ReturnType {
isActive: pathname.startsWith('/token'), isActive: pathname.startsWith('/token'),
}, },
config.features.marketplace.isEnabled ? { config.features.marketplace.isEnabled ? {
text: 'Apps', text: 'DApps',
nextRoute: { pathname: '/apps' as const }, nextRoute: { pathname: '/apps' as const },
icon: 'apps', icon: 'apps',
isActive: pathname.startsWith('/app'), isActive: pathname.startsWith('/app'),
......
...@@ -15,8 +15,8 @@ export const PAGE_TYPE_DICT: Record<Route['pathname'], string> = { ...@@ -15,8 +15,8 @@ export const PAGE_TYPE_DICT: Record<Route['pathname'], string> = {
'/tokens': 'Tokens', '/tokens': 'Tokens',
'/token/[hash]': 'Token details', '/token/[hash]': 'Token details',
'/token/[hash]/instance/[id]': 'Token Instance', '/token/[hash]/instance/[id]': 'Token Instance',
'/apps': 'Apps', '/apps': 'DApps',
'/apps/[id]': 'App', '/apps/[id]': 'DApp',
'/stats': 'Stats', '/stats': 'Stats',
'/api-docs': 'REST API', '/api-docs': 'REST API',
'/graphiql': 'GraphQL', '/graphiql': 'GraphQL',
......
...@@ -16,7 +16,7 @@ export type SearchResultAppItem = { ...@@ -16,7 +16,7 @@ export type SearchResultAppItem = {
} }
export const searchCategories: Array<{id: Category; title: string }> = [ export const searchCategories: Array<{id: Category; title: string }> = [
{ id: 'app', title: 'Apps' }, { id: 'app', title: 'DApps' },
{ id: 'token', title: 'Tokens (ERC-20)' }, { id: 'token', title: 'Tokens (ERC-20)' },
{ id: 'nft', title: 'NFTs (ERC-721 & 1155)' }, { id: 'nft', title: 'NFTs (ERC-721 & 1155)' },
{ id: 'address', title: 'Addresses' }, { id: 'address', title: 'Addresses' },
...@@ -30,7 +30,7 @@ if (config.features.userOps.isEnabled) { ...@@ -30,7 +30,7 @@ if (config.features.userOps.isEnabled) {
} }
export const searchItemTitles: Record<Category, { itemTitle: string; itemTitleShort: string }> = { export const searchItemTitles: Record<Category, { itemTitle: string; itemTitleShort: string }> = {
app: { itemTitle: 'App', itemTitleShort: 'App' }, app: { itemTitle: 'DApp', itemTitleShort: 'App' },
token: { itemTitle: 'Token', itemTitleShort: 'Token' }, token: { itemTitle: 'Token', itemTitleShort: 'Token' },
nft: { itemTitle: 'NFT', itemTitleShort: 'NFT' }, nft: { itemTitle: 'NFT', itemTitleShort: 'NFT' },
address: { itemTitle: 'Address', itemTitleShort: 'Address' }, address: { itemTitle: 'Address', itemTitleShort: 'Address' },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment