Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
reagan-meant committed Oct 1, 2024
1 parent 791d6d9 commit c88656f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/history/history-detail-overview.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ const HistoryDetailOverview: React.FC<HistoryDetailOverviewProps> = () => {
}
},[error, history, isLoading])

console.error(ips);

const handleSubmit = () => {
setIsSubmitting(true);
Expand All @@ -62,7 +61,7 @@ const HistoryDetailOverview: React.FC<HistoryDetailOverviewProps> = () => {
showSnackbar({
isLowContrast: true,
kind: 'success',
title: t('ipsCreated', 'IPS bundle generated successfully!'),
title: t('ipsCreated', 'IPS'),
subtitle: t(
'ipsNowAvailable',
'The IPS is now visible on the Patient History page',
Expand All @@ -74,7 +73,7 @@ const HistoryDetailOverview: React.FC<HistoryDetailOverviewProps> = () => {
setIps((ps) => ({...ps, history: null, isLoading: false, error: err?.message || "Failed to fetch IPS"}));
setIsSubmitting(false);
showSnackbar({
title: t('ipsCreationError', 'Error generating IPS from Fhir server'),
title: t('ipsCreationError', 'IPS'),
kind: 'error',
isLowContrast: false,
subtitle: t('checkForServerAvailability', 'The Fhir server maybe unreachable or the IPS generation process exited with an error!'),
Expand Down

0 comments on commit c88656f

Please sign in to comment.