Skip to content

Commit 2dde773

Browse files
authored
fix erroneous async component in integration test (#69760)
This component is used in Pages which doesn't support async components. It silently worked because React 19 was used in pages but breaks in React 18.
1 parent 1de62ed commit 2dde773

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/integration/module-id-strategies/components/CustomComponent.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from 'react'
22

3-
async function CustomComponent() {
3+
function CustomComponent() {
44
return (
55
<div>
66
<h1>the content of a dynamic component</h1>

0 commit comments

Comments
 (0)