Skip to content

Commit

Permalink
Add a useSelector call to test behavior with RSCs
Browse files Browse the repository at this point in the history
  • Loading branch information
markerikson committed Jun 13, 2023
1 parent 2eab959 commit 2730991
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/publish-ci/rr-rsc-context/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import './globals.css'
import { Inter } from 'next/font/google'
import React from 'react'

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

Expand Down
3 changes: 3 additions & 0 deletions examples/publish-ci/rr-rsc-context/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
import Image from 'next/image'
import styles from './page.module.css'
import React from 'react'
import { useSelector } from 'react-redux'
console.log(useSelector)

export default function Home() {
return (
Expand Down

0 comments on commit 2730991

Please sign in to comment.