Skip to content

Commit

Permalink
Remove expect-error
Browse files Browse the repository at this point in the history
  • Loading branch information
timneutkens committed May 3, 2023
1 parent c14ef41 commit 6fba662
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/next/src/client/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,6 @@ function renderReactElement(
if (!reactRoot) {
// Unlike with createRoot, you don't need a separate root.render() call here
reactRoot = ReactDOM.hydrateRoot(domEl, reactEl, {
// @ts-expect-error Missing errorInfo in @types/react
onRecoverableError,
})
// TODO: Remove shouldHydrate variable when React 18 is stable as it can depend on `reactRoot` existing
Expand Down

0 comments on commit 6fba662

Please sign in to comment.