style: network display

This commit is contained in:
hamster1963
2024-12-04 17:37:38 +08:00
parent 79e40144b5
commit 1cb56973aa
2 changed files with 13 additions and 13 deletions

View File

@@ -52,7 +52,7 @@ function Header() {
(handlers[element.tagName] || handlers.DEFAULT)(element);
} else if (node.nodeType === Node.TEXT_NODE) {
document.body.appendChild(
document.createTextNode(node.textContent || "")
document.createTextNode(node.textContent || ""),
);
}
});
@@ -155,7 +155,7 @@ function Overview() {
const timeOption = DateTime.TIME_SIMPLE;
timeOption.hour12 = true;
const [timeString, setTimeString] = useState(
DateTime.now().setLocale("en-US").toLocaleString(timeOption)
DateTime.now().setLocale("en-US").toLocaleString(timeOption),
);
useInterval(() => {
setTimeString(DateTime.now().setLocale("en-US").toLocaleString(timeOption));