Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
huozhi committed Dec 2, 2022
1 parent 3dc3aba commit c335533
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 40 deletions.
37 changes: 0 additions & 37 deletions packages/next/shared/lib/dynamic-error-boundary.tsx

This file was deleted.

3 changes: 0 additions & 3 deletions packages/next/shared/lib/dynamic.tsx
@@ -1,6 +1,5 @@
import React, { Suspense } from 'react'
import Loadable from './loadable'
import DynamicBoundary from './dynamic-error-boundary'

import { NEXT_DYNAMIC_NO_SSR_CODE } from './no-ssr-error'

Expand Down Expand Up @@ -75,8 +74,6 @@ export function noSSR<P = {}>(
return () => (
<Suspense fallback={fallback}>
<NoSSRComponent />
{/* <DynamicBoundary>
</DynamicBoundary> */}
</Suspense>
)
}
Expand Down
2 changes: 2 additions & 0 deletions packages/next/shared/lib/loadable-context.ts
@@ -1,3 +1,5 @@
'use client'

import React from 'react'

type CaptureFn = (moduleName: string) => void
Expand Down

0 comments on commit c335533

Please sign in to comment.