Skip to content

Commit d0b25dd

Browse files
committed
update dependencies
1 parent 95982ee commit d0b25dd

File tree

7 files changed

+4657
-3591
lines changed

7 files changed

+4657
-3591
lines changed

app/components/error-boundary.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,13 @@ import {
55
useRouteError,
66
} from '@remix-run/react'
77
import { captureRemixErrorBoundaryError } from '@sentry/remix'
8+
import { type ReactElement } from 'react'
89
import { getErrorMessage } from '#app/utils/misc.tsx'
910

1011
type StatusHandler = (info: {
1112
error: ErrorResponse
1213
params: Record<string, string | undefined>
13-
}) => JSX.Element | null
14+
}) => ReactElement | null
1415

1516
export function GeneralErrorBoundary({
1617
defaultStatusHandler = ({ error }) => (
@@ -23,7 +24,7 @@ export function GeneralErrorBoundary({
2324
}: {
2425
defaultStatusHandler?: StatusHandler
2526
statusHandlers?: Record<number, StatusHandler>
26-
unexpectedErrorHandler?: (error: unknown) => JSX.Element | null
27+
unexpectedErrorHandler?: (error: unknown) => ReactElement | null
2728
}) {
2829
const error = useRouteError()
2930
captureRemixErrorBoundaryError(error)

app/components/forms.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ export function CheckboxField({
144144
errors,
145145
className,
146146
}: {
147-
labelProps: JSX.IntrinsicElements['label']
147+
labelProps: React.ComponentProps<'label'>
148148
buttonProps: CheckboxProps & {
149149
name: string
150150
form: string

0 commit comments

Comments
 (0)