remove unused
cleanup styles
simplify post code
commentz
This commit is contained in:
cv
2021-10-27 22:54:50 +02:00
parent 0a5fa12c21
commit 1afdd67760
6 changed files with 20 additions and 13 deletions
+1 -2
View File
@@ -1,10 +1,9 @@
import { useEffect } from 'react';
import { useState, useEffect } from 'react';
import { useSocket } from 'app/context/socketContext';
import style from './Info.module.css';
import InfoTitle from './InfoTitle';
import InfoLogger from './InfoLogger';
import InfoNif from './InfoNif';
import { useState } from 'react';
export default function Info() {
const socket = useSocket();
+1 -2
View File
@@ -11,8 +11,7 @@ export default function InfoNif() {
placeholderData: ontimePlaceholderInfo,
});
const [collapsed, setCollapsed] = useState(false);
const baseURL = `http://__IP__:${4001}`;
const baseURL = 'http://__IP__:4001';
const handleLink = (url) => {
if (window.process?.type === 'renderer') {