Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump @types/react from 18.2.23 to 18.2.24 #599

Closed
wants to merge 8 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha || github.ref }}

- name: Install dependencies
run: npm ci
Expand Down
7 changes: 3 additions & 4 deletions examples/cra-react-router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,12 @@
"dependencies": {
"@auth0/auth0-react": "file:../..",
"@types/node": "^17.0.29",
"@types/react": "^18.0.8",
"@types/react-router-dom": "^5.3.3",
"@types/react": "file:../../node_modules/@types/react",
"react": "file:../../node_modules/react",
"react-dom": "file:../../node_modules/react-dom",
"react-router-dom": "^6.3.0",
"react-router-dom": "^6.16.0",
"react-scripts": "^5.0.1",
"typescript": "^4.6.3"
"typescript": "^4.9.4"
},
"scripts": {
"start": "react-scripts start",
Expand Down
2 changes: 1 addition & 1 deletion examples/cra-react-router/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function App() {
{error && <Error message={error.message} />}
<Routes>
<Route path="/" />
<Route path="/users" element={<ProtectedUsers />} />
<Route path="/users" Component={ProtectedUsers} />
</Routes>
</>
);
Expand Down
2 changes: 1 addition & 1 deletion examples/cra-react-router/src/Users.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export function Users() {
</tr>
</thead>
<tbody>
{users!.map(
{users.map(
({ name, email }: { name: string; email: string }, i: number) => (
<tr key={i}>
<td>{name}</td>
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading