Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import routes from './routes';
import GlobalStyle from './globalStyle';
import type { Store } from '/types';
import { configureStore } from './redux/configureStore';
import { ErrorHandlerModal } from '/components/errorHandler';
import { UpdaterModal } from '/components/updater';
const HEALTH_CHECK_INTERVAL = 360000;
const store: Store = configureStore();
const configOptions: $Shape = {
showReactDomPatchNotification: false
};
setConfig(configOptions);
type Props = {};
type State = {
error: ?Error,
isUpdateDownloaded: boolean
};
class App extends React.Component {
// eslint-disable-next-line react/sort-comp
startNodeInterval: IntervalID;
healthCheckInterval: IntervalID;
updateCheckInterval: IntervalID;