diff --git a/src/apps/dashboard/features/logs/components/LogItemList.tsx b/src/apps/dashboard/features/logs/components/LogItemList.tsx index 702c4594b4..ce68f8bdd7 100644 --- a/src/apps/dashboard/features/logs/components/LogItemList.tsx +++ b/src/apps/dashboard/features/logs/components/LogItemList.tsx @@ -1,6 +1,6 @@ import React, { FunctionComponent } from 'react'; import type { LogFile } from '@jellyfin/sdk/lib/generated-client/models/log-file'; -import { Box, List, ListItem, ListItemButton, ListItemText, useTheme } from '@mui/material'; +import { List, ListItem, ListItemButton, ListItemText } from '@mui/material'; import { useApi } from 'hooks/useApi'; import datetime from 'scripts/datetime'; @@ -10,7 +10,6 @@ type LogItemProps = { const LogItemList: FunctionComponent = ({ logs }: LogItemProps) => { const { api } = useApi(); - const theme = useTheme(); const getLogFileUrl = (logFile: LogFile) => { if (!api) return ''; @@ -29,24 +28,22 @@ const LogItemList: FunctionComponent = ({ logs }: LogItemProps) => }; return ( - - - {logs.map(log => { - return ( - - - - - - ); - })} - - + + {logs.map(log => { + return ( + + + + + + ); + })} + ); }; diff --git a/src/apps/dashboard/routes/logs/index.tsx b/src/apps/dashboard/routes/logs/index.tsx index 6f9826c37e..8ab9decee8 100644 --- a/src/apps/dashboard/routes/logs/index.tsx +++ b/src/apps/dashboard/routes/logs/index.tsx @@ -121,9 +121,9 @@ const Logs = () => { - + - + );