Skip to content

Commit

Permalink
Don't override null fallback in InlineErrorBoundary (#10416)
Browse files Browse the repository at this point in the history
  • Loading branch information
hbenl authored Mar 8, 2024
1 parent 077ea4a commit 5cd4aff
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export function InlineErrorBoundary({

return (
<ErrorBoundary
fallback={fallback ?? <InlineErrorFallback />}
fallback={fallback !== undefined ? fallback : <InlineErrorFallback />}
onError={onError}
resetKeys={resetKey ? [resetKey] : undefined}
{...rest}
Expand Down

0 comments on commit 5cd4aff

Please sign in to comment.