import { notification } from 'antd';

export const openNotificationSuccess = ({
  messageTitle,
  messageDescription = null,
}: {
  messageTitle: string;
  messageDescription?: string | null;
}): void => {
  if (messageTitle) {
    notification.success({
      message: messageTitle,
      description: messageDescription,
    });
  }
};
