Skip to content

Commit

Permalink
refactor: Rename main titles of the navbar
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinszuchet committed Oct 18, 2024
1 parent 57f98b4 commit 9d7e381
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/components/Navbar/Navbar.defaults.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ import { ChainSelectori18n } from '../ChainSelector/ChainSelector.props'
import { NavbarMenuI18nProps, NavbarSubmenuProps } from './Navbar.types'

export const navbarMainTitlesI18N = {
marketplace: 'marketplace',
marketplace: 'shop',
create: 'create',
explore: 'explore',
learn: 'learn',
governance: 'governance'
governance: 'vote',
explore: 'events'
} as NavbarMenuI18nProps

export const i18nChainSelectorDefault = {
Expand Down
2 changes: 1 addition & 1 deletion src/components/Navbar/Navbar.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export enum NavbarPages {
GOVERNANCE = 'governance'
}

export type NavbarMenuI18nProps = Record<NavbarPages, NavbarPages>
export type NavbarMenuI18nProps = Record<NavbarPages, string>

export type NavbarSubMenuItemsProps = {
column1Title?: string
Expand Down

0 comments on commit 9d7e381

Please sign in to comment.