[build] upgrade eslint to 9.37.0 (#88)
Co-authored-by: tobi <tobi.smethurst@protonmail.com> Reviewed-on: https://codeberg.org/superseriousbusiness/masto-fe-standalone/pulls/88 Co-authored-by: Zoë Bijl <moiety@noreply.codeberg.org> Co-committed-by: Zoë Bijl <moiety@noreply.codeberg.org>
This commit is contained in:
@@ -5,7 +5,7 @@ export default class Settings {
|
||||
}
|
||||
|
||||
generateKey(id) {
|
||||
return this.keyBase ? [this.keyBase, `id${id}`].join('.') : id;
|
||||
return this.keyBase ? [this.keyBase, `id${id}`].join(".") : id;
|
||||
}
|
||||
|
||||
set(id, data) {
|
||||
@@ -36,6 +36,7 @@ export default class Settings {
|
||||
try {
|
||||
localStorage.removeItem(key);
|
||||
} catch (e) {
|
||||
console.error(e);
|
||||
}
|
||||
}
|
||||
return data;
|
||||
@@ -43,7 +44,7 @@ export default class Settings {
|
||||
|
||||
}
|
||||
|
||||
export const pushNotificationsSetting = new Settings('mastodon_push_notification_data');
|
||||
export const tagHistory = new Settings('mastodon_tag_history');
|
||||
export const bannerSettings = new Settings('mastodon_banner_settings');
|
||||
export const searchHistory = new Settings('mastodon_search_history');
|
||||
export const pushNotificationsSetting = new Settings("mastodon_push_notification_data");
|
||||
export const tagHistory = new Settings("mastodon_tag_history");
|
||||
export const bannerSettings = new Settings("mastodon_banner_settings");
|
||||
export const searchHistory = new Settings("mastodon_search_history");
|
||||
Reference in New Issue
Block a user