mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
### What
Change the shared test component to async since it's used in both
server/client components. Found this error while testing other stuff,
it's because the async shared component is accidentally used in client
component page
```
===== TS errors =====
[Test Mode] ./app/client/edge/page.tsx:5:23
Type error: 'ErrorComponent' cannot be used as a JSX component.
Its type '({ name }: { name: string; }) => Promise<any>' is not a valid JSX element type.
```