Skip to content

Commit ef34afc

Browse files
committed
chore: format code with Prettier
1 parent a82b193 commit ef34afc

File tree

4 files changed

+148
-150
lines changed

4 files changed

+148
-150
lines changed

src/app/groups/[groupId]/expenses/expense-form.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -916,7 +916,8 @@ export function ExpenseForm({
916916
groupCurrency,
917917
), // Convert to cents
918918
expenseDate:
919-
form.watch('expenseDate') ?? new Date(),
919+
form.watch('expenseDate') ??
920+
new Date(),
920921
paidFor: field.value.map(
921922
({ participant, shares }) => ({
922923
participant: {
@@ -950,7 +951,7 @@ export function ExpenseForm({
950951
name: '',
951952
},
952953
}),
953-
locale
954+
locale,
954955
)}
955956
)
956957
</span>

src/lib/balances.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { getGroupExpenses } from '@/lib/api'
2-
import { Participant } from '@prisma/client'
32
import { calculateShares } from '@/lib/totals'
3+
import { Participant } from '@prisma/client'
44

55
export type Balances = Record<
66
Participant['id'],

0 commit comments

Comments
 (0)