"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const react_1 = __importDefault(require("react"));
const react_router_dom_1 = require("react-router-dom");
const detail_1 = require("./detail");
const list_1 = require("./list");
function Applications() {
    return (react_1.default.createElement(react_router_dom_1.Switch, null,
        react_1.default.createElement(react_router_dom_1.Route, { path: "/applications/list", component: list_1.List }),
        react_1.default.createElement(react_router_dom_1.Route, { path: "/applications/:applicationId", component: detail_1.Detail }),
        react_1.default.createElement(react_router_dom_1.Redirect, { from: "/*", to: "/applications/list" })));
}
exports.default = Applications;
