Skip to content

Commit

Permalink
fix: fix build error with lastUpdated
Browse files Browse the repository at this point in the history
resolve #24
  • Loading branch information
linhe0x0 committed Jun 11, 2021
1 parent 973f937 commit 3681d1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helpers/locales.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ exports.defaultLocales = {
}

exports.getDefaultLocales = ($locale, path) => {
let value = exports.defaultLocales[$locale]
let value = exports.defaultLocales[$locale] || exports.defaultLocales['/']

path.split('.').forEach((item) => {
value = value[item]
Expand Down

0 comments on commit 3681d1a

Please sign in to comment.