1
Fork 0
mirror of https://github.com/pds-nest/nest.git synced 2024-11-22 13:04:19 +00:00

🗑 Remove PageSandbox

This commit is contained in:
Steffo 2021-05-15 02:31:57 +02:00
parent faa28d4990
commit 8975567118
Signed by: steffo
GPG key ID: 6965406171929D01
3 changed files with 0 additions and 12 deletions

View file

@ -4,7 +4,6 @@ import PageLogin from "./routes/PageLogin"
import PageRepositories from "./routes/PageRepositories" import PageRepositories from "./routes/PageRepositories"
import PageAlerts from "./routes/PageAlerts" import PageAlerts from "./routes/PageAlerts"
import PageSettings from "./routes/PageSettings" import PageSettings from "./routes/PageSettings"
import PageSandbox from "./routes/PageSandbox"
import PageDashboard from "./routes/PageDashboard" import PageDashboard from "./routes/PageDashboard"
import PageRoot from "./routes/PageRoot" import PageRoot from "./routes/PageRoot"
import PageEdit from "./routes/PageEdit" import PageEdit from "./routes/PageEdit"
@ -32,9 +31,6 @@ export default function PageSwitcher({ ...props }) {
<Route path={"/settings"} exact={true}> <Route path={"/settings"} exact={true}>
<PageSettings/> <PageSettings/>
</Route> </Route>
<Route path={"/sandbox"} exact={true}>
<PageSandbox/>
</Route>
<Route path={"/dashboard"} exact={true}> <Route path={"/dashboard"} exact={true}>
<PageDashboard/> <PageDashboard/>
</Route> </Route>

View file

@ -10,7 +10,6 @@ import {
faHome, faHome,
faKey, faKey,
faUserCog, faUserCog,
faWrench,
} from "@fortawesome/free-solid-svg-icons" } from "@fortawesome/free-solid-svg-icons"
import ContextUser from "../../contexts/ContextUser" import ContextUser from "../../contexts/ContextUser"
@ -51,11 +50,6 @@ export default function Sidebar({ className, ...props }) {
: :
null null
} }
{
process.env.NODE_ENV === "development" ?
<ButtonSidebar to={"/sandbox"} icon={faWrench}>Sandbox</ButtonSidebar>
: null
}
</aside> </aside>
) )
} }

View file

@ -1,2 +0,0 @@
# Do not commit edits to the sandbox beyond the first
/PageSandbox.*