got rid of unnessarry logs
This commit is contained in:
parent
8fc8745862
commit
67ea4cbfdc
3 changed files with 8 additions and 20 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import { Suspense, useEffect, useState } from "react";
|
||||
import { Suspense } from "react";
|
||||
import LoadingScreen from "../app/LoadingScreen";
|
||||
import { BrowserRouter, Navigate, Route, Routes } from "react-router-dom";
|
||||
import { Typography } from "@mui/material";
|
||||
|
|
@ -35,7 +35,6 @@ export default function Router(props: Props) {
|
|||
const isMobile = useMobile();
|
||||
|
||||
const RelativeRoutes = () => {
|
||||
console.log("relative route")
|
||||
return (
|
||||
<Routes>
|
||||
<Route path="teams/*" element={<TeamsRoute/>} />
|
||||
|
|
@ -46,7 +45,6 @@ export default function Router(props: Props) {
|
|||
}
|
||||
|
||||
const TeamsRoute = () => {
|
||||
console.log("teams route")
|
||||
return (
|
||||
<Routes>
|
||||
<Route
|
||||
|
|
@ -66,8 +64,6 @@ export default function Router(props: Props) {
|
|||
};
|
||||
|
||||
const DevicesRoute = () => {
|
||||
console.log("devices route")
|
||||
console.log(window.location.pathname)
|
||||
return (
|
||||
<div>
|
||||
<Routes>
|
||||
|
|
@ -90,7 +86,6 @@ export default function Router(props: Props) {
|
|||
};
|
||||
|
||||
const GroupsRoute = () => {
|
||||
console.log("groups route")
|
||||
return (
|
||||
<div>
|
||||
<Routes>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue