mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2026-01-28 17:49:08 +03:00
Merge branch 'dev'
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { useContext } from 'react';
|
||||
import { memo, useContext } from 'react';
|
||||
import type { FC } from 'react';
|
||||
import { Navigate } from 'react-router';
|
||||
|
||||
@@ -16,4 +16,4 @@ const RequireUnauthenticated: FC<RequiredChildrenProps> = ({ children }) => {
|
||||
);
|
||||
};
|
||||
|
||||
export default RequireUnauthenticated;
|
||||
export default memo(RequireUnauthenticated);
|
||||
|
||||
Reference in New Issue
Block a user