Lazy load the AdminRouter

This commit is contained in:
Matthew Penner 2020-08-22 17:25:47 -06:00
parent 1f850fac61
commit 1cdf9bc18f

View File

@ -1,6 +1,6 @@
// import React, { useEffect } from 'react';
// import ReactGA from 'react-ga';
import React from 'react';
import React, { Suspense, lazy } from 'react';
import { hot } from 'react-hot-loader/root';
import { BrowserRouter, Route, Switch } from 'react-router-dom';
import { StoreProvider } from 'easy-peasy';