diff --git a/src/pages/tenant/Notifications.tsx b/src/pages/tenant/Notifications.tsx index 6981071..c88c78e 100644 --- a/src/pages/tenant/Notifications.tsx +++ b/src/pages/tenant/Notifications.tsx @@ -7,7 +7,7 @@ import { } from "@/store/notificationSlice"; import { Bell, - Search, + // Search, Check, Trash2, CheckCircle2, @@ -19,7 +19,7 @@ import { GraduationCap, GitGraph, Building2, - ExternalLink, + // ExternalLink, Clock, } from "lucide-react"; import { formatDistanceToNow, isToday, isYesterday } from "date-fns"; @@ -32,6 +32,7 @@ import type { } from "@/types/notification"; import { Layout } from "@/components/layout/Layout"; import { Button } from "@/components/ui/button"; +import { PrimaryButton } from "@/components/shared/PrimaryButton"; import { notificationService } from "@/services/notification-service"; import { showToast } from "@/utils/toast"; @@ -175,9 +176,9 @@ export const Notifications = () => { // } if (notification.action_url) { - const targetUrl = notification.action_url.startsWith('/tenant') - ? notification.action_url - : `/tenant${notification.action_url.startsWith('/') ? '' : '/'}${notification.action_url}`; + const targetUrl = notification.action_url.startsWith("/tenant") + ? notification.action_url + : `/tenant${notification.action_url.startsWith("/") ? "" : "/"}${notification.action_url}`; navigate(targetUrl); } }; @@ -245,7 +246,7 @@ export const Notifications = () => {