Skip to content

Commit

Permalink
Ran yarn format, yarn test, yarn build
Browse files Browse the repository at this point in the history
-minor issues fixed- forgotten save of EditForm.tsx
  • Loading branch information
hiapetrov committed Oct 2, 2023
1 parent 43d486b commit 743d2c0
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/components/admin/withdrawals/CreateForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ export default function CreateForm() {
<FormTextField type="text" label={t('reason')} name="reason" autoComplete="reason" />
</Grid>
<Grid item xs={12}>
<SelectDate name="targetDate"/>
<SelectDate name="targetDate" />
</Grid>

<Grid item xs={12}>
Expand Down
2 changes: 1 addition & 1 deletion src/components/admin/withdrawals/EditForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export default function EditForm() {
reason: values.reason,
sourceVaultId: values.sourceVaultId,
sourceCampaignId: values.sourceCampaignId,
targetDate: values.targetDate ? new Date(values.targetDate) : null,
targetDate: values.targetDate,
bankAccountId: values.bankAccountId,
documentId: values.documentId,
approvedById: values.approvedById,
Expand Down
4 changes: 2 additions & 2 deletions src/gql/transfer.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export type TransferInput = {
amount: number
reason: string
documentId?: UUID | string | null
targetDate: Date | string
targetDate: Date | string
approvedById?: string | null
sourceCampaignId: string
sourceVaultId: string
Expand All @@ -25,7 +25,7 @@ export type TransferData = {
amount: number | undefined
reason: string | undefined
documentId?: UUID | string | null
targetDate: Date | string
targetDate: Date | string
approvedById?: UUID | string | null
sourceCampaignId: UUID | string | undefined
sourceVaultId: UUID | string | undefined
Expand Down
2 changes: 1 addition & 1 deletion src/gql/withdrawals.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export type WithdrawalInput = {
amountAvailable: number
reason: string | undefined
documentId?: UUID | undefined
targetDate: Date | string
targetDate: Date | string
approvedById?: UUID | undefined
bankAccountId?: UUID | undefined
sourceCampaignId?: UUID | undefined
Expand Down

0 comments on commit 743d2c0

Please sign in to comment.