Unverified Commit 4171cf38 authored by Jiachi Liu's avatar Jiachi Liu Committed by GitHub

test: pages react version with react hook in deployment (#48907)

testing react version in pages for deployment env
parent d6c83a4f
...@@ -5,8 +5,11 @@ import styles from '../styles/shared.module.css' ...@@ -5,8 +5,11 @@ import styles from '../styles/shared.module.css'
export default function Page() { export default function Page() {
return ( 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> <Link href="/dashboard">Dashboard</Link>
<p id="react-version">{React.version}</p>
</> </>
) )
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment