Skip to content

Commit

Permalink
Update README.md (#108)
Browse files Browse the repository at this point in the history
  • Loading branch information
aralroca authored Mar 27, 2020
1 parent 3c0e421 commit 515d787
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ import useTranslation from 'next-translate/useTranslation'

export default function Description() {
const { t, lang } = useTranslation()
const title = t('title')
const title = t('common:title')
const description = t`common:description` // also works as template string
const example = t('common:example', { count: 3 }) // and with query params

Expand Down

0 comments on commit 515d787

Please sign in to comment.