diff --git a/app/javascript/packs/src/settings/app.jsx b/app/javascript/packs/src/settings/app.jsx index 5449c561e..e38d98455 100644 --- a/app/javascript/packs/src/settings/app.jsx +++ b/app/javascript/packs/src/settings/app.jsx @@ -1,14 +1,19 @@ import React from "react"; import ReactDOM from "react-dom"; +import { BrowserRouter, Route, Switch, Redirect } from "react-router-dom"; import { Provider } from "react-redux"; -import { IntlProvider } from "react-intl"; -import { addLocaleData } from "react-intl"; +import { IntlProvider, addLocaleData } from "react-intl"; import enLocaleData from "react-intl/locale-data/en"; + import { flattenMessages } from "../../locales/utils"; import store from "../../app/store"; import messages from "../../locales/messages"; import Navigation from "../../shared/navigation"; +import NotFound from "../../shared/404/NotFound"; +import MainNav from "./components/MainNav"; +import SettingsAccount from "./components/SettingsAccount"; +import SettingsTeams from "./components/SettingsTeams"; addLocaleData([...enLocaleData]); const locale = "en-US"; @@ -16,7 +21,20 @@ const locale = "en-US"; const SettingsPage = () =>