Rewrite t to be called as a normal function
[MAILPOET-2677]
This commit is contained in:
committed by
Veljko V
parent
d1968dfe50
commit
c1c845ab8d
@@ -1,3 +1,3 @@
|
||||
import MailPoet from 'mailpoet';
|
||||
|
||||
export default ([word]: TemplateStringsArray) => MailPoet.I18n.t(word);
|
||||
export default (word: string): string => MailPoet.I18n.t(word);
|
||||
|
Reference in New Issue
Block a user