Files
medreport_mrb2b/app/home/[account]/_components/team-account-notifications.tsx
Danel Kungla 0c2cfe6d18 prettier fix
2025-09-19 17:22:36 +03:00

19 lines
456 B
TypeScript

import { NotificationsPopover } from '@kit/notifications/components';
import { featureFlagsConfig } from '@kit/shared/config';
export function TeamAccountNotifications(params: {
userId: string;
accountId: string;
}) {
if (!featureFlagsConfig.enableNotifications) {
return null;
}
return (
<NotificationsPopover
accountIds={[params.userId, params.accountId]}
realtime={featureFlagsConfig.realtimeNotifications}
/>
);
}