Graphical PDS migrator for AT Protocol

otel

Changed files
+3 -3
routes
+2 -2
deno.json
···
"tasks": {
"check": "deno fmt --check . && deno lint . && deno check **/*.ts && deno check **/*.tsx",
"dev": "deno run -A --env --watch=static/,routes/ dev.ts",
-
"build": "deno run -A dev.ts build",
-
"start": "deno run -A main.ts",
+
"build": "deno run -A --unstable-otel dev.ts build",
+
"start": "deno run -A --unstable-otel main.ts",
"update": "deno run -A -r jsr:@fresh/update ."
},
"lint": {
+1 -1
routes/index.tsx
···
label="MOBILE NOT SUPPORTED"
className="opacity-50 cursor-not-allowed sm:opacity-100 sm:cursor-pointer"
onClick={(e: MouseEvent) => {
-
if (window.innerWidth < 640) {
+
if (globalThis.innerWidth < 640) {
e.preventDefault();
}
}}