Fix remaining compliance violations

This commit is contained in:
gpt-engineer-app[bot]
2025-11-03 18:47:59 +00:00
parent 6efb6dda66
commit 7663205512
9 changed files with 131 additions and 83 deletions

View File

@@ -19,10 +19,11 @@ export function NotificationCenter() {
return null;
}
const handleNotificationClick = (notification: any) => {
const handleNotificationClick = (notification: { data?: Record<string, unknown> }) => {
// Handle navigation based on notification payload
if (notification.data?.url) {
navigate(notification.data.url);
const data = notification.data as { url?: string } | undefined;
if (data?.url) {
navigate(data.url);
}
};