import React from "react" import { Route, Switch } from "react-router" import PageLogin from "./routes/PageLogin" import PageRepositoriesList from "./routes/PageRepositoriesList" import PageRepositoryAlerts from "./routes/PageRepositoryAlerts" import PageSettings from "./routes/PageSettings" import PageRepositoryCreate from "./routes/PageRepositoryCreate" import PageRepositoryEdit from "./routes/PageRepositoryEdit" import PageUsers from "./routes/PageUsers" import PageRepositoryAnalyze from "./routes/PageRepositoryAnalyze" import PageShare from "./routes/PageShare" import { faQuestionCircle } from "@fortawesome/free-solid-svg-icons" import makeIcon from "./utils/makeIcon" import useStrings from "./hooks/useStrings" import Alert from "./components/base/Alert" import PageRepositoryAlertsCreate from "./routes/PageRepositoryAlertsCreate" export default function PageSwitcher({ ...props }) { const strings = useStrings() return ( {makeIcon(faQuestionCircle)} {strings.errorPageNotFound} ) }