Skip to content

Commit 214b83c

Browse files
ximingclaude
andcommitted
fix(web): remove unused imports/variables to pass lint
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 7c422ef commit 214b83c

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

apps/web/src/pages/notifications/NotificationCard.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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
};

apps/web/src/pages/notifications/index.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { 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';
43
import { Layout } from '../../components/layout';
54
import { NotificationService } from '../../services/notification.service';
65
import { NotificationTabs, type NotificationTab } from './NotificationTabs';
@@ -39,7 +38,6 @@ const groupNotificationsByTime = (notifications: Notification[]) => {
3938
};
4039

4140
export 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);

0 commit comments

Comments
 (0)