Skip to content

Commit 4cfe42c

Browse files
committed
fix: pass translate options
1 parent 7e65225 commit 4cfe42c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/I18NextService.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export class I18NextService implements ITranslationService {
5050
if (hasDefault) {
5151
return i18next.t.call(i18next, <any>key, optionsOrDefault, options);
5252
} else {
53-
return i18next.t.call(i18next, <any>key, options);
53+
return i18next.t.call(i18next, <any>key, optionsOrDefault);
5454
}
5555
}
5656

0 commit comments

Comments
 (0)