refactor: Consolidate chore action handling into ChoreActionMenu component and remove unused code from ChoreCard and CompactChoreCard

This commit is contained in:
Mo Tarbin
2025-06-01 00:47:47 -04:00
parent cf252c3ec4
commit ddf654a641
6 changed files with 351 additions and 457 deletions

View File

@@ -1,4 +1,4 @@
import { CheckCircle, Key, Security, Smartphone } from '@mui/icons-material'
import { CheckCircle, Security, Smartphone } from '@mui/icons-material'
import {
Alert,
Box,
@@ -264,7 +264,7 @@ const MFASettings = () => {
</Box>
</Box>
</Card>
{/*
{mfaEnabled && (
<Card variant='outlined'>
<Box className='flex items-center justify-between'>
@@ -288,7 +288,7 @@ const MFASettings = () => {
</Button>
</Box>
</Card>
)}
)} */}
{/* Setup MFA Modal */}
<Modal open={setupModalOpen} onClose={closeSetupModal}>