Switch to vercel's biome setup (#543)

This commit is contained in:
Jared Palmer 2024-11-15 13:00:15 -05:00 committed by GitHub
parent b8643353c0
commit 43aa1c6e58
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
52 changed files with 414 additions and 201 deletions

View file

@ -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!';