diff --git a/frontend/src/features/notifications/components/EmailNotificationToggle.tsx b/frontend/src/features/notifications/components/EmailNotificationToggle.tsx index a82e4ca..5203a94 100644 --- a/frontend/src/features/notifications/components/EmailNotificationToggle.tsx +++ b/frontend/src/features/notifications/components/EmailNotificationToggle.tsx @@ -1,9 +1,10 @@ /** * @ai-summary Email notification toggle component - * @ai-context Mobile-first responsive toggle switch for email notifications + * @ai-context Uses MUI Switch to match SettingsPage pill-style toggles */ import React from 'react'; +import { Box, Switch, Typography } from '@mui/material'; interface EmailNotificationToggleProps { enabled: boolean; @@ -19,32 +20,16 @@ export const EmailNotificationToggle: React.FC = ( className = '', }) => { return ( -
- - -
+ + onChange(e.target.checked)} + color="primary" + inputProps={{ 'aria-label': label }} + /> + ); };