fix: update chore ID reference in ChoresOverview and clean up unused code in HistoryDetailModal and AdvancedOptionsSection

This commit is contained in:
Mo Tarbin
2026-08-14 01:43:01 -04:00
parent 95b31fb14d
commit 9e9659c9fe
5 changed files with 10 additions and 29 deletions

View File

@@ -16,6 +16,7 @@ import { Avatar, Box, Button, Chip, Divider, Stack, Typography } from '@mui/joy'
import moment from 'moment'
import { useTranslation } from 'react-i18next'
import { useNavigate } from 'react-router-dom'
import ModalActions from '../../components/common/ModalActions'
import { useLocalization } from '../../contexts/LocalizationContext'
import { useResponsiveModal } from '../../hooks/useResponsiveModal'
@@ -44,7 +45,7 @@ const STATUS_CONFIG = {
6: { labelKey: 'status.rescheduled', color: 'warning', icon: <Schedule /> },
}
const DetailRow = ({ icon, label, value, children }) => (
const DetailRow = ({ children, icon, label, value }) => (
<Box sx={{ display: 'flex', alignItems: 'flex-start', gap: 1.5, py: 0.75 }}>
<Box
sx={{ color: 'text.tertiary', mt: 0.25, flexShrink: 0, display: 'flex' }}