Skip to content

Commit

Permalink
test: pages react version with react hook in deployment (#48907)
Browse files Browse the repository at this point in the history
testing react version in pages for deployment env
  • Loading branch information
huozhi authored May 9, 2023
1 parent d6c83a4 commit 4171cf3
Show file tree
Hide file tree
Showing 2 changed files with 441 additions and 454 deletions.
5 changes: 4 additions & 1 deletion test/e2e/app-dir/app/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@ import styles from '../styles/shared.module.css'
export default function Page() {
return (
<>
<p className={styles.content}>hello from pages/index</p>
<p id="hello" className={styles.content}>
hello from pages/index
</p>
<Link href="/dashboard">Dashboard</Link>
<p id="react-version">{React.version}</p>
</>
)
}
Loading

0 comments on commit 4171cf3

Please sign in to comment.