Skip to content

Commit

Permalink
fix: buird problems
Browse files Browse the repository at this point in the history
  • Loading branch information
alnavarrop99 committed Apr 16, 2024
1 parent 692bf74 commit b6773c6
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 138 deletions.
24 changes: 0 additions & 24 deletions src/__stories__/clients.stories.tsx

This file was deleted.

60 changes: 0 additions & 60 deletions src/__stories__/credit.stories.tsx

This file was deleted.

25 changes: 0 additions & 25 deletions src/__stories__/report.storie.tsx

This file was deleted.

24 changes: 0 additions & 24 deletions src/__stories__/users.stories.tsx

This file was deleted.

2 changes: 1 addition & 1 deletion src/pages/_layout/credit/print.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ export function PrintSelectedCredit() {
<SelectValue placeholder={text.form.pay.placeholder} />
</SelectTrigger>
<SelectContent className='[&_*]:cursor-pointer'>
{ credit?.pagos?.map( ( _, index ) => ( <SelectItem key={key} value={""+index}> {format(credit?.cuotas?.[index].fecha_de_pago, "dd/MM/yyyy")} </SelectItem> ) ) }
{ credit?.pagos?.map( ( _, index ) => ( <SelectItem key={index} value={""+index}> {format(credit?.cuotas?.[index].fecha_de_pago, "dd/MM/yyyy")} </SelectItem> ) ) }
</SelectContent>
</Select>
}
Expand Down
1 change: 1 addition & 0 deletions src/pages/_layout/user/delete.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import { AlertCircle } from 'lucide-react'
import { Checkbox } from '@/components/ui/checkbox'
import { useNotifications } from '@/lib/context/notification'
import { useStatus } from '@/lib/context/layout'
import { _selectUsers } from '../user'

export const Route = createFileRoute('/_layout/user/delete')({
component: DeleteSelectedUsers,
Expand Down
8 changes: 4 additions & 4 deletions src/routeTree.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ const LayoutCreditCreditIdUpdateRoute = LayoutCreditCreditIdUpdateImport.update(
{
path: '/credit/$creditId/update',
getParentRoute: () => LayoutRoute,
} as any
} as any,
)

const LayoutCreditCreditIdPrintRoute = LayoutCreditCreditIdPrintImport.update({
Expand All @@ -156,21 +156,21 @@ const LayoutCreditCreditIdDeleteRoute = LayoutCreditCreditIdDeleteImport.update(
{
path: '/delete',
getParentRoute: () => LayoutCreditCreditIdRoute,
} as any
} as any,
)

const LayoutClientClientIdUpdateRoute = LayoutClientClientIdUpdateImport.update(
{
path: '/$clientId/update',
getParentRoute: () => LayoutClientRoute,
} as any
} as any,
)

const LayoutClientClientIdDeleteRoute = LayoutClientClientIdDeleteImport.update(
{
path: '/$clientId/delete',
getParentRoute: () => LayoutClientRoute,
} as any
} as any,
)

const LayoutCreditCreditIdUpdateConfirmRoute =
Expand Down

0 comments on commit b6773c6

Please sign in to comment.