Files
medreport_mrb2b/app/home/(user)/_components/user-notifications.tsx
Helena 195af1db3d MED-137: add doctor other jobs view (#55)
* add doctor jobs view

* change translation

* another translation change

* clean up

* add analaysis detail view to paths config

* translation

* merge fix

* fix path

* move components to shared

* refactor

* imports

* clean up
2025-08-25 11:12:57 +03:00

16 lines
405 B
TypeScript

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