File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 6
6
"main" : " src/index.js" ,
7
7
"dependencies" : {
8
8
"axios" : " ^0.21.1" ,
9
- "react" : " 0 .0.0-experimental-5faf377df " ,
10
- "react-dom" : " 0 .0.0-experimental-5faf377df " ,
9
+ "react" : " ^18 .0.0" ,
10
+ "react-dom" : " ^18 .0.0" ,
11
11
"react-error-boundary" : " ^2.2.3" ,
12
12
"react-query" : " ^3.5.0" ,
13
13
"react-scripts" : " 3.0.1"
Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ import React from "react";
3
3
import Spinner from "./Spinner" ;
4
4
5
5
export default function Button ( { children, timeoutMs = 3000 , onClick } ) {
6
- const [ startTransition , isPending ] = React . useTransition ( {
7
- timeoutMs : timeoutMs
6
+ const [ isPending , startTransition ] = React . useTransition ( {
7
+ timeoutMs : timeoutMs ,
8
8
} ) ;
9
9
10
10
const handleClick = e => {
Original file line number Diff line number Diff line change 1
1
import React , { lazy } from "react" ;
2
- import ReactDOM from "react-dom" ;
2
+ import ReactDOM from "react-dom/client " ;
3
3
import {
4
4
useQueryClient ,
5
5
QueryClient ,
You can’t perform that action at this time.
0 commit comments