style(ui): apply biome recos

This commit is contained in:
Edouard Vanbelle
2026-04-26 00:22:49 +02:00
parent ae15d5adc5
commit 08cbf3a423
22 changed files with 23 additions and 45 deletions
+2 -8
View File
@@ -110,10 +110,7 @@ const favorites = {
// Notify user
if (ui?.showNotification) {
ui.showNotification(
i18n.t('favorites.added_title'),
`"${name}" ${i18n.t('favorites.added_msg')}`
);
ui.showNotification(i18n.t('favorites.added_title'), `"${name}" ${i18n.t('favorites.added_msg')}`);
}
return true;
@@ -145,10 +142,7 @@ const favorites = {
this._cache.delete(this._cacheKey(id, type));
if (ui?.showNotification) {
ui.showNotification(
i18n.t('favorites.removed_title'),
`"${itemName}" ${i18n.t('favorites.removed_msg')}`
);
ui.showNotification(i18n.t('favorites.removed_title'), `"${itemName}" ${i18n.t('favorites.removed_msg')}`);
}
return true;