summaryrefslogtreecommitdiff
path: root/packages/client/src/scripts/use-note-capture.ts
diff options
context:
space:
mode:
authorAndreas Nedbal <andreas.nedbal@in2code.de>2022-05-07 07:19:15 +0200
committerGitHub <noreply@github.com>2022-05-07 14:19:15 +0900
commita975a0971cb0aa3b684204f910fba8b714c0f5fb (patch)
tree7feeaeae17c8f0debf42e301c20912adb1afa594 /packages/client/src/scripts/use-note-capture.ts
parentrefactor(client): refactor settings/theme/manage to use Composition API (#8596) (diff)
downloadsharkey-a975a0971cb0aa3b684204f910fba8b714c0f5fb.tar.gz
sharkey-a975a0971cb0aa3b684204f910fba8b714c0f5fb.tar.bz2
sharkey-a975a0971cb0aa3b684204f910fba8b714c0f5fb.zip
fix(client): fix lint issues in scripts (#8621)
Diffstat (limited to 'packages/client/src/scripts/use-note-capture.ts')
-rw-r--r--packages/client/src/scripts/use-note-capture.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/client/src/scripts/use-note-capture.ts b/packages/client/src/scripts/use-note-capture.ts
index b2a96062c7..f1f976693e 100644
--- a/packages/client/src/scripts/use-note-capture.ts
+++ b/packages/client/src/scripts/use-note-capture.ts
@@ -11,8 +11,8 @@ export function useNoteCapture(props: {
const note = props.note;
const connection = $i ? stream : null;
- function onStreamNoteUpdated(data): void {
- const { type, id, body } = data;
+ function onStreamNoteUpdated(noteData): void {
+ const { type, id, body } = noteData;
if (id !== note.value.id) return;