summaryrefslogtreecommitdiff
path: root/packages/client/src/scripts/use-note-capture.ts
diff options
context:
space:
mode:
authorKagami Sascha Rosylight <saschanaz@outlook.com>2022-12-22 16:01:59 +0900
committerGitHub <noreply@github.com>2022-12-22 16:01:59 +0900
commitf1fd1d2585bd5230caea4c7b8814c2cf007e57cc (patch)
tree212dd8f70312b9237484057deba6bc9611ec44d0 /packages/client/src/scripts/use-note-capture.ts
parentImprove Dockerfile (#9105) (diff)
downloadsharkey-f1fd1d2585bd5230caea4c7b8814c2cf007e57cc.tar.gz
sharkey-f1fd1d2585bd5230caea4c7b8814c2cf007e57cc.tar.bz2
sharkey-f1fd1d2585bd5230caea4c7b8814c2cf007e57cc.zip
style: add missing trailing commas (#9387)
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 f1f976693e..e6bdb345c4 100644
--- a/packages/client/src/scripts/use-note-capture.ts
+++ b/packages/client/src/scripts/use-note-capture.ts
@@ -60,8 +60,8 @@ export function useNoteCapture(props: {
...choices[choice],
votes: choices[choice].votes + 1,
...($i && (body.userId === $i.id) ? {
- isVoted: true
- } : {})
+ isVoted: true,
+ } : {}),
};
note.value.poll.choices = choices;