remove comments

This commit is contained in:
Proddy
2023-05-13 10:51:06 +02:00
parent c57a5c04d6
commit ae9a86e796

View File

@@ -18,19 +18,6 @@ import { useRest, updateValueDirty, extractErrorMessage } from 'utils';
export const LOG_EVENTSOURCE_URL = EVENT_SOURCE_ROOT + 'log';
// const useWindowSize = () => {
// const [size, setSize] = useState([0, 0]);
// useLayoutEffect(() => {
// function updateSize() {
// setSize([window.innerWidth, window.innerHeight]);
// }
// window.addEventListener('resize', updateSize);
// updateSize();
// return () => window.removeEventListener('resize', updateSize);
// }, []);
// return size;
// };
const LogEntryLine = styled('div')(() => ({
color: '#bbbbbb',
fontFamily: 'monospace',
@@ -62,8 +49,6 @@ const levelLabel = (level: LogLevel) => {
};
const SystemLog: FC = () => {
// useWindowSize();
const { LL } = useI18nContext();
const { loadData, data, setData, origData, dirtyFlags, blocker, setDirtyFlags, setOrigData } = useRest<LogSettings>({