mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2026-05-02 12:07:02 +00:00
Remove useMemo/useCallback across the web UI
This commit is contained in:
@@ -67,7 +67,6 @@ const Authentication: FC<RequiredChildrenProps> = ({ children }) => {
|
||||
void refresh();
|
||||
}, [refresh]);
|
||||
|
||||
// cache object to prevent re-renders
|
||||
const obj = useMemo(
|
||||
() => ({
|
||||
signIn,
|
||||
|
||||
Reference in New Issue
Block a user