fix: Small fixes

This commit is contained in:
Silentoplayz
2025-06-27 04:35:28 -04:00
parent b6e2b2e514
commit e3bacc3296
7 changed files with 7 additions and 5 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ const createIsLoadingStore = (i18n: i18nType) => {
// if loaded resources are empty || {}, set loading to true
i18n.on('loaded', (resources) => {
// console.log('loaded:', resources);
Object.keys(resources).length !== 0 && isLoading.set(false);
isLoading.set(Object.keys(resources).length === 0);
});
// if resources failed loading, set loading to true