fix: remove unused TS imports, fix icon size type, use prisma db push

This commit is contained in:
NixReaper
2026-04-05 12:03:33 -05:00
parent 5f42fe1ef0
commit f369732f6f
12 changed files with 20 additions and 23 deletions
+2 -2
View File
@@ -1,10 +1,10 @@
import React, { useEffect, useState } from 'react'
import { useEffect, useState } from 'react'
import { Server, RefreshCw, RotateCcw, CheckCircle, XCircle } from 'lucide-react'
import { api } from '../api/client'
export default function WebServer() {
const [status, setStatus] = useState<{ nginx: { active: boolean }; apache: { active: boolean } } | null>(null)
const [vhosts, setVhosts] = useState<{ domain: string; path: string }[]>([])
const [, setVhosts] = useState<{ domain: string; path: string }[]>([])
const [logs, setLogs] = useState<{ lines: string[] } | null>(null)
const [logType, setLogType] = useState<'access' | 'error'>('access')
const [loading, setLoading] = useState(false)