Skip to content

Commit 8d4ae1c

Browse files
committed
revert translation.ts: remove unneeded code
1 parent 324d79c commit 8d4ae1c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/client/theme-default/support/translation.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ export function createSearchTranslate(
1515
const isObject = themeObject && typeof themeObject === 'object'
1616
const locales =
1717
(isObject && themeObject.locales?.[localeIndex.value]?.translations) ||
18-
(isObject && themeObject?.translations) ||
1918
null
2019
const translations = (isObject && themeObject.translations) || null
2120

0 commit comments

Comments
 (0)