fix: build
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Kieran 2024-09-26 10:49:17 +01:00
parent b78c073066
commit 7a68ec800a
Signed by: Kieran
GPG Key ID: DE71CEB3925BE941
3 changed files with 3 additions and 3 deletions

View File

@ -44,7 +44,7 @@ export default function FileList({
if ("created_at" in f) { if ("created_at" in f) {
return { return {
id: f.tags.find((a) => a[0] === "x")![1], id: f.tags.find((a) => a[0] === "x")![1],
url: f.tags.find((a) => a[0] === "url")?.at(1), url: f.tags.find((a) => a[0] === "url")![1],
name: f.content, name: f.content,
type: f.tags.find((a) => a[0] === "m")?.at(1), type: f.tags.find((a) => a[0] === "m")?.at(1),
size: Number(f.tags.find((a) => a[0] === "size")?.at(1)), size: Number(f.tags.find((a) => a[0] === "size")?.at(1)),

View File

@ -2,7 +2,7 @@
"compilerOptions": { "compilerOptions": {
"target": "ESNext", "target": "ESNext",
"useDefineForClassFields": true, "useDefineForClassFields": true,
"lib": ["ES2020", "DOM", "DOM.Iterable"], "lib": ["ESNext", "DOM", "DOM.Iterable"],
"module": "ESNext", "module": "ESNext",
"skipLibCheck": true, "skipLibCheck": true,

View File

@ -1 +1 @@
{"root":["./src/App.tsx","./src/login.ts","./src/main.tsx","./src/vite-env.d.ts","./src/components/button.tsx","./src/components/profile.tsx","./src/hooks/login.ts","./src/hooks/publisher.ts","./src/upload/blossom.ts","./src/upload/index.ts","./src/upload/nip96.ts","./src/views/files.tsx","./src/views/header.tsx","./src/views/upload.tsx"],"version":"5.6.2"} {"root":["./src/App.tsx","./src/const.ts","./src/login.ts","./src/main.tsx","./src/vite-env.d.ts","./src/components/button.tsx","./src/components/profile.tsx","./src/hooks/login.ts","./src/hooks/publisher.ts","./src/upload/blossom.ts","./src/upload/index.ts","./src/upload/nip96.ts","./src/views/files.tsx","./src/views/header.tsx","./src/views/upload.tsx"],"version":"5.6.2"}