File tree Expand file tree Collapse file tree
apps/web/src/pages/notifications Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,7 +7,8 @@ interface NotificationCardProps {
77 notification : Notification ;
88}
99
10- const getNotificationIcon = ( type : string ) => {
10+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
11+ const getNotificationIcon = ( _type : string ) => {
1112 // Placeholder - can be enhanced with type-specific icons
1213 return '🔔' ;
1314} ;
Original file line number Diff line number Diff line change 11import { useEffect , useMemo , useState } from 'react' ;
2- import { useNavigate } from 'react-router' ;
3- import { view , useService , bindServices } from '@rabjs/react' ;
2+ import { useService , bindServices } from '@rabjs/react' ;
43import { Layout } from '../../components/layout' ;
54import { NotificationService } from '../../services/notification.service' ;
65import { NotificationTabs , type NotificationTab } from './NotificationTabs' ;
@@ -39,7 +38,6 @@ const groupNotificationsByTime = (notifications: Notification[]) => {
3938} ;
4039
4140export const NotificationPage = bindServices ( ( ) => {
42- const navigate = useNavigate ( ) ;
4341 const notificationService = useService ( NotificationService ) ;
4442 const [ activeTab , setActiveTab ] = useState < NotificationTab > ( 'all' ) ;
4543 const [ markingAllRead , setMarkingAllRead ] = useState ( false ) ;
You can’t perform that action at this time.
0 commit comments