Skip to content

Commit

Permalink
fix typo of how to use toArray
Browse files Browse the repository at this point in the history
  • Loading branch information
tttp committed Oct 3, 2024
1 parent 05068ae commit e65f7d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/text.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ const toObject = (locale, separator) => {

const pickOne = (locale) => {
const text = locale;
const v = text.toArray();
const v = toArray(text);

let t = []; // use to stack the sentence(s) to be part of the current variant
let variants = [];
Expand Down

0 comments on commit e65f7d3

Please sign in to comment.