Skip to content

Commit

Permalink
style(client): fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
Mister-Hope committed Apr 21, 2024
1 parent 2045d71 commit 527e696
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/client/src/components/ArticleReaction.vue
Original file line number Diff line number Diff line change
Expand Up @@ -87,13 +87,13 @@ const fetchReaction = async (): Promise<void> => {
abort = controller.abort.bind(controller);
const resp = await getArticleCounter({
const resp = (await getArticleCounter({
serverURL,
lang,
paths: [path],
type: reaction.map((_reaction, index) => `reaction${index}`),
signal: controller.signal,
});
})) as Record<string, number>[];
voteNumbers.value = reaction.map(
(_reaction, index) => resp[0][`reaction${index}`],
Expand Down

0 comments on commit 527e696

Please sign in to comment.