notifications
This commit is contained in:
parent
38b0f162f8
commit
fabf267cc1
@ -17,7 +17,7 @@ type PageProps = {
|
||||
};
|
||||
|
||||
export default async function SectionPage({ params }: PageProps) {
|
||||
const sectionSlug = String(params?.section || '');
|
||||
const sectionSlug = String(await params?.section || '');
|
||||
|
||||
const iframeUrl = menuItems[sectionSlug as keyof typeof menuItems];
|
||||
|
||||
|
||||
@ -13,6 +13,8 @@ export const NotificationBadge = memo(function NotificationBadge({ className }:
|
||||
const { notificationCount } = useNotifications();
|
||||
const hasUnread = notificationCount.unread > 0;
|
||||
|
||||
console.log('[NOTIFICATION_BADGE] Current notification count:', notificationCount);
|
||||
|
||||
return (
|
||||
<div className={`relative ${className || ''}`}>
|
||||
<Link
|
||||
|
||||
Loading…
Reference in New Issue
Block a user