Skip to content

Commit

Permalink
Update packages/react/src/AsyncBoundary.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
manudeli authored Jan 7, 2024
1 parent 4ce6fab commit 6dc20b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react/src/AsyncBoundary.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const AsyncBoundary = Object.assign(
CSROnly: (() => {
const CSROnly = forwardRef<ComponentRef<typeof ErrorBoundary>, OmitKeyOf<AsyncBoundaryProps, 'clientOnly'>>(
({ pendingFallback, rejectedFallback, children, ...errorBoundaryProps }, resetRef) => (
<ErrorBoundary {...(errorBoundaryProps as ErrorBoundaryProps)} ref={resetRef} fallback={rejectedFallback}>
<ErrorBoundary {...errorBoundaryProps} ref={resetRef} fallback={rejectedFallback}>
<Suspense clientOnly fallback={pendingFallback}>
{children}
</Suspense>
Expand Down

0 comments on commit 6dc20b8

Please sign in to comment.