Skip to content

Commit 17a59ba

Browse files
auxvesshanalikhan
authored andcommitted
Fix issue with Localize (#948)
1 parent 2bca77f commit 17a59ba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/localize.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export class Localize {
99

1010
public localize(key: string, ...args: string[]): string {
1111
const message = this.bundle[key] || key;
12-
return this.format(message, args.flat());
12+
return this.format(message, args);
1313
}
1414

1515
private init() {

0 commit comments

Comments
 (0)