File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 1
1
import React , { useState , useEffect , ErrorInfo } from "react" ;
2
2
import ReactDOM from "react-dom" ;
3
- import { Test } from "./components" ;
4
3
import { TextField } from "./components/text-field" ;
5
- import { GroupStore , GroupStoreMutable } from "./stores/group-store" ;
4
+ import { GroupStoreMutable } from "./stores/group-store" ;
6
5
import { GroupContext , GroupContextObject } from "./contexts/group-context" ;
7
6
import { useForceUpdate } from "./force-update" ;
8
7
@@ -84,7 +83,7 @@ interface State {
84
83
class App extends React . Component {
85
84
public state : State = { } ;
86
85
87
- public componentDidCatch ( error : Error , info : ErrorInfo ) {
86
+ public componentDidCatch ( error : Error , info : ErrorInfo ) : void {
88
87
this . setState ( ( ) => ( {
89
88
error : error ,
90
89
info : info
You can’t perform that action at this time.
0 commit comments