File tree Expand file tree Collapse file tree 4 files changed +148
-150
lines changed
app/groups/[groupId]/expenses Expand file tree Collapse file tree 4 files changed +148
-150
lines changed Original file line number Diff line number Diff 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 >
Original file line number Diff line number Diff line change 11import { getGroupExpenses } from '@/lib/api'
2- import { Participant } from '@prisma/client'
32import { calculateShares } from '@/lib/totals'
3+ import { Participant } from '@prisma/client'
44
55export type Balances = Record <
66 Participant [ 'id' ] ,
You can’t perform that action at this time.
0 commit comments