Skip to content

Commit 2730991

Browse files
committed
Add a useSelector call to test behavior with RSCs
1 parent 2eab959 commit 2730991

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

examples/publish-ci/rr-rsc-context/app/layout.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import './globals.css'
22
import { Inter } from 'next/font/google'
3+
import React from 'react'
34

45
const inter = Inter({ subsets: ['latin'] })
56

examples/publish-ci/rr-rsc-context/app/page.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
import Image from 'next/image'
22
import styles from './page.module.css'
3+
import React from 'react'
4+
import { useSelector } from 'react-redux'
5+
console.log(useSelector)
36

47
export default function Home() {
58
return (

0 commit comments

Comments
 (0)