mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
parent
451a439c31
commit
d4bd0dffbe
2 changed files with 1 additions and 7 deletions
|
|
@ -6,7 +6,6 @@ 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";
|
||||
|
||||
function renderApp() {
|
||||
const baseUrl = document.getElementsByTagName("base")[0].getAttribute("href")!;
|
||||
|
|
@ -26,6 +25,4 @@ if (module.hot) {
|
|||
routes = require<typeof RoutesModule>("./routes").routes;
|
||||
renderApp();
|
||||
});
|
||||
}
|
||||
|
||||
ReactModal.setAppElement("#react-app");
|
||||
}
|
||||
|
|
@ -9,9 +9,6 @@ export default class ListDetails extends React.Component<any, any> {
|
|||
responseLoaded: false,
|
||||
listId: props.listId
|
||||
};
|
||||
}
|
||||
|
||||
componentWillMount() {
|
||||
this.fetchData();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue