"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var React = require("react");
var react_router_1 = require("react-router");
var react_router_dom_1 = require("react-router-dom");
var react_toastify_1 = require("react-toastify");
var userRoutes_1 = require("./routes/userRoutes");
//export default class App extends React.Component {
//	static displayName = App.name;
//	render() {
//		return (
//			<BrowserRouter>
//				<Switch>
//					<Route path="/" component={UserRoutes} />
//				</Switch>
//			</BrowserRouter>
//		);
//	}
//}
react_toastify_1.toast.configure();
var App = function () {
    return (React.createElement(react_router_dom_1.BrowserRouter, null,
        React.createElement(react_router_1.Switch, null,
            React.createElement(react_router_1.Route, { path: "/", component: userRoutes_1.default }))));
};
exports.default = App;
//# sourceMappingURL=App.js.map