mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
new linting, make sure code is type safe
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import { useContext, type FC } from 'react';
|
||||
import { Navigate, Routes, Route } from 'react-router-dom';
|
||||
import { type FC, useContext } from 'react';
|
||||
import { Navigate, Route, Routes } from 'react-router-dom';
|
||||
|
||||
import Help from './project/Help';
|
||||
import { Layout } from 'components';
|
||||
import { AuthenticatedContext } from 'contexts/authentication';
|
||||
import Settings from 'framework/Settings';
|
||||
@@ -21,6 +20,8 @@ import Devices from 'project/Devices';
|
||||
import Scheduler from 'project/Scheduler';
|
||||
import Sensors from 'project/Sensors';
|
||||
|
||||
import Help from './project/Help';
|
||||
|
||||
const AuthenticatedRouting: FC = () => {
|
||||
const { me } = useContext(AuthenticatedContext);
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user