chore: fix some lints automatically (#8788)

* chore: fix some lints automatically

Fixed lints that were automatically fixable with `eslint --fix`.

* fix type

* workaround for empty interface lint
This commit is contained in:
Johann150
2022-06-10 07:36:55 +02:00
committed by GitHub
parent a683a7092d
commit 5e29528ad4
58 changed files with 92 additions and 88 deletions

View File

@ -103,19 +103,19 @@ const choose = async (ev) => {
os.popupMenu([{
text: i18n.ts._timelines.home,
icon: 'fas fa-home',
action: () => { setSrc('home') }
action: () => { setSrc('home'); }
}, {
text: i18n.ts._timelines.local,
icon: 'fas fa-comments',
action: () => { setSrc('local') }
action: () => { setSrc('local'); }
}, {
text: i18n.ts._timelines.social,
icon: 'fas fa-share-alt',
action: () => { setSrc('social') }
action: () => { setSrc('social'); }
}, {
text: i18n.ts._timelines.global,
icon: 'fas fa-globe',
action: () => { setSrc('global') }
action: () => { setSrc('global'); }
}, antennaItems.length > 0 ? null : undefined, ...antennaItems, listItems.length > 0 ? null : undefined, ...listItems], ev.currentTarget ?? ev.target).then(() => {
menuOpened.value = false;
});

View File

@ -45,7 +45,7 @@ export const useWidgetPropsManager = <F extends Form & Record<string, { default:
}, { deep: true, immediate: true, });
const save = throttle(3000, () => {
emit('updateProps', widgetProps)
emit('updateProps', widgetProps);
});
const configure = async () => {