@ethnolib/language-chooser-react-hook 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -1
- package/index.mjs +1 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
@@ -294105,7 +294105,7 @@ const Yh = (u) => {
|
|
294105
294105
|
}
|
294106
294106
|
const A = !!y && // either a script is selected or there are no scripts for the selected language
|
294107
294107
|
(!!p || ((Na = y == null ? void 0 : y.scripts) == null ? void 0 : Na.length) === 0) && // if unlisted language, name and country are required
|
294108
|
-
(!Eh || v.dialect !== "" && ((ba = v.region) == null ? void 0 : ba.name) !== ""), j = Ey(() => !g || g.length < 2 ? [] : ia(g, u), [g]);
|
294108
|
+
(!Eh(y) || v.dialect !== "" && ((ba = v.region) == null ? void 0 : ba.name) !== ""), j = Ey(() => !g || g.length < 2 ? [] : ia(g, u), [g]);
|
294109
294109
|
function W(X, F) {
|
294110
294110
|
var xa;
|
294111
294111
|
h(void 0), k(void 0), M();
|