mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
utils: module loader register
This commit is contained in:
1 parent
20bbda794e
commit
7dafab8344
50 files changed
+83
-275
No files matched your search
@@ -20,7 +20,7 @@ export default function LanguageSelect({
|
||||
const subselections = Object.keys(options).length;
|
||||
if (options[sub]) return;
|
||||
if (!subselections) setSub('');
|
||||
if (subselections === 1) setSub(Object.keys(options)[0]);
|
||||
setSub(Object.keys(options)[0]);
|
||||
}, [main]);
|
||||
|
||||
return (
|
||||
|
||||
Reference in new issue
Block a user