Skip to content

Commit

Permalink
fix erroneous async component in integration test (#69760)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ztanner authored Sep 5, 2024
1 parent 1de62ed commit 2dde773
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react'

async function CustomComponent() {
function CustomComponent() {
return (
<div>
<h1>the content of a dynamic component</h1>
Expand Down

0 comments on commit 2dde773

Please sign in to comment.