Switch to vercel's biome setup (#543)
This commit is contained in:
parent
b8643353c0
commit
43aa1c6e58
52 changed files with 414 additions and 201 deletions
|
|
@ -80,7 +80,7 @@ export function MessageActions({
|
|||
if (!currentVotes) return [];
|
||||
|
||||
const votesWithoutCurrent = currentVotes.filter(
|
||||
(vote) => vote.messageId !== message.id
|
||||
(vote) => vote.messageId !== message.id,
|
||||
);
|
||||
|
||||
return [
|
||||
|
|
@ -92,7 +92,7 @@ export function MessageActions({
|
|||
},
|
||||
];
|
||||
},
|
||||
{ revalidate: false }
|
||||
{ revalidate: false },
|
||||
);
|
||||
|
||||
return 'Upvoted Response!';
|
||||
|
|
@ -134,7 +134,7 @@ export function MessageActions({
|
|||
if (!currentVotes) return [];
|
||||
|
||||
const votesWithoutCurrent = currentVotes.filter(
|
||||
(vote) => vote.messageId !== message.id
|
||||
(vote) => vote.messageId !== message.id,
|
||||
);
|
||||
|
||||
return [
|
||||
|
|
@ -146,7 +146,7 @@ export function MessageActions({
|
|||
},
|
||||
];
|
||||
},
|
||||
{ revalidate: false }
|
||||
{ revalidate: false },
|
||||
);
|
||||
|
||||
return 'Downvoted Response!';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue