call ReactModal.setAppElement for accessibility

This commit is contained in:
Collin M. Barrett 2018-02-17 08:56:38 -06:00
parent aa25fc900a
commit d2da31d860

View file

@ -6,6 +6,9 @@ import { AppContainer } from "react-hot-loader";
import { BrowserRouter } from "react-router-dom";
import * as RoutesModule from "./routes";
let routes = RoutesModule.routes;
import * as ReactModal from "react-modal";
ReactModal.setAppElement("#react-app");
function renderApp() {
// This code starts up the React app when it runs in a browser. It sets up the routing