* 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
16 lines
405 B
TypeScript
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}
|
|
/>
|
|
);
|
|
}
|