Skip to content

Commit

Permalink
Change title of index page to meta.defaultTitle.
Browse files Browse the repository at this point in the history
  • Loading branch information
Elweyn committed Mar 26, 2024
1 parent 273f033 commit 76961e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion presenter/src/pages/index/+title.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import i18n from '#plugins/i18n'

export const title = () => i18n.global.t('title')
export const title = () => i18n.global.t('meta.defaultTitle')
2 changes: 1 addition & 1 deletion presenter/src/pages/index/Page.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ describe('IndexPage', () => {
})

it('title returns default title', () => {
expect(title()).toBe(i18n.global.t('title'))
expect(title()).toBe(i18n.global.t('meta.defaultTitle'))
})

it('renders', () => {
Expand Down

0 comments on commit 76961e9

Please sign in to comment.