diff --git a/resources/scripts/routers/AuthenticationRouter.tsx b/resources/scripts/routers/AuthenticationRouter.tsx index baa662a85..57d1422ca 100644 --- a/resources/scripts/routers/AuthenticationRouter.tsx +++ b/resources/scripts/routers/AuthenticationRouter.tsx @@ -1,6 +1,6 @@ import React, { useEffect } from 'react'; import ReactGA from 'react-ga'; -import { Route, RouteComponentProps, Switch, Redirect } from 'react-router-dom'; +import { Route, RouteComponentProps, Switch } from 'react-router-dom'; import LoginContainer from '@/components/auth/LoginContainer'; import ForgotPasswordContainer from '@/components/auth/ForgotPasswordContainer'; import ResetPasswordContainer from '@/components/auth/ResetPasswordContainer'; @@ -15,7 +15,6 @@ export default ({ location, history, match }: RouteComponentProps) => { return (
- diff --git a/resources/scripts/routers/DashboardRouter.tsx b/resources/scripts/routers/DashboardRouter.tsx index f68bda865..7a895a7e4 100644 --- a/resources/scripts/routers/DashboardRouter.tsx +++ b/resources/scripts/routers/DashboardRouter.tsx @@ -1,6 +1,6 @@ import React, { useEffect } from 'react'; import ReactGA from 'react-ga'; -import { NavLink, Route, RouteComponentProps, Switch, Redirect } from 'react-router-dom'; +import { NavLink, Route, RouteComponentProps, Switch } from 'react-router-dom'; import AccountOverviewContainer from '@/components/dashboard/AccountOverviewContainer'; import NavigationBar from '@/components/NavigationBar'; import DashboardContainer from '@/components/dashboard/DashboardContainer'; @@ -27,7 +27,6 @@ export default ({ location }: RouteComponentProps) => { } - diff --git a/resources/scripts/routers/ServerRouter.tsx b/resources/scripts/routers/ServerRouter.tsx index e35113dca..a90ff652b 100644 --- a/resources/scripts/routers/ServerRouter.tsx +++ b/resources/scripts/routers/ServerRouter.tsx @@ -1,6 +1,6 @@ import React, { useEffect, useState } from 'react'; import ReactGA from 'react-ga'; -import { NavLink, Route, RouteComponentProps, Switch, Redirect } from 'react-router-dom'; +import { NavLink, Route, RouteComponentProps, Switch } from 'react-router-dom'; import NavigationBar from '@/components/NavigationBar'; import ServerConsole from '@/components/server/ServerConsole'; import TransitionRouter from '@/TransitionRouter'; @@ -123,7 +123,6 @@ const ServerRouter = ({ match, location }: RouteComponentProps<{ id: string }>) <> -