chore: fixes from deno linting/formatting

This commit is contained in:
Dan Ditomaso
2025-03-03 20:42:46 -05:00
parent 7968994090
commit 75596e7153
30 changed files with 76 additions and 83 deletions
@@ -1,4 +1,4 @@
import type { TabElementProps } from "@app/components/Dialog/NewDeviceDialog.tsx";
import type { TabElementProps } from "@components/Dialog/NewDeviceDialog.tsx";
import { Button } from "@components/UI/Button.tsx";
import { Input } from "@components/UI/Input.tsx";
import { Label } from "@components/UI/Label.tsx";
@@ -22,8 +22,8 @@ export const HTTP = ({ closeDialog }: TabElementProps) => {
}>({
defaultValues: {
ip: ["client.meshtastic.org", "localhost"].includes(
globalThis.location.hostname,
)
globalThis.location.hostname,
)
? "meshtastic.local"
: globalThis.location.host,
tls: location.protocol === "https:",