mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-12-17 17:56:42 +00:00
Update system-logs.tsx
This commit is contained in:
parent
74c4392b6d
commit
0ee574eaaa
@ -95,13 +95,13 @@ interface CombinedLogEntry {
|
||||
sortTimestamp: number
|
||||
}
|
||||
|
||||
// ADDED: Props interface
|
||||
// MODIFIED: Fixed props interface - nodeName is already optional
|
||||
interface SystemLogsProps {
|
||||
nodeName?: string
|
||||
}
|
||||
|
||||
// MODIFIED: Added props destructuring
|
||||
export function SystemLogs({ nodeName }: SystemLogsProps = {}) {
|
||||
// MODIFIED: Fixed function signature - removed incorrect default value syntax
|
||||
export function SystemLogs({ nodeName }: SystemLogsProps) {
|
||||
const [logs, setLogs] = useState<SystemLog[]>([])
|
||||
const [backups, setBackups] = useState<Backup[]>([])
|
||||
const [events, setEvents] = useState<Event[]>([])
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user