diff --git a/src/app/components/Modals/ErrorModal.tsx b/src/app/components/Modals/ErrorModal.tsx index 85ca4ae7..20331e28 100644 --- a/src/app/components/Modals/ErrorModal.tsx +++ b/src/app/components/Modals/ErrorModal.tsx @@ -22,7 +22,7 @@ export const ErrorModal: React.FC = ({ errorMessage, errorState, noCancel, - errorTime, + // errorTime, // This prop is not used in the component }) => { const { error, retryErrorAction } = useError(); @@ -95,7 +95,7 @@ export const ErrorModal: React.FC = ({

{getErrorMessage()}

- {noCancel && ( + {!noCancel && ( // Only show the cancel button if noCancel is false or undefined