diff options
| author | Johann150 <johann.galle@protonmail.com> | 2022-06-10 07:36:55 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-10 14:36:55 +0900 |
| commit | 5e29528ad4d75174b4a8ebd462f0ff830c5b1c43 (patch) | |
| tree | 72a1d0a6532bf5b0c74f289f2dc772b0f8090cfa /packages/client/src/widgets | |
| parent | enhance(federation): use ActivityPub defined property in favour of proprietar... (diff) | |
| download | misskey-5e29528ad4d75174b4a8ebd462f0ff830c5b1c43.tar.gz misskey-5e29528ad4d75174b4a8ebd462f0ff830c5b1c43.tar.bz2 misskey-5e29528ad4d75174b4a8ebd462f0ff830c5b1c43.zip | |
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
Diffstat (limited to 'packages/client/src/widgets')
| -rw-r--r-- | packages/client/src/widgets/timeline.vue | 8 | ||||
| -rw-r--r-- | packages/client/src/widgets/widget.ts | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/packages/client/src/widgets/timeline.vue b/packages/client/src/widgets/timeline.vue index 408cf2cbea..3bcad1ae29 100644 --- a/packages/client/src/widgets/timeline.vue +++ b/packages/client/src/widgets/timeline.vue @@ -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; }); diff --git a/packages/client/src/widgets/widget.ts b/packages/client/src/widgets/widget.ts index db164c2bc3..9626d01619 100644 --- a/packages/client/src/widgets/widget.ts +++ b/packages/client/src/widgets/widget.ts @@ -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 () => { |