fix: TypeScript errors — NominatimItem import, unknown ReactNode, unused deliveryType, effect generics, export name

This commit is contained in:
kirill.komarov
2026-05-13 22:16:00 +05:00
parent a06f9cf2c4
commit c6b542bd95
7 changed files with 12 additions and 14 deletions
@@ -127,11 +127,11 @@ export function PaymentDialog({ open, isPending, error, onClose, onSubmit }: Pro
{clientError}
</Alert>
)}
{error && (
{error ? (
<Alert severity="error" sx={{ mt: 1 }}>
{paySubmitErrorMessage(error)}
</Alert>
)}
) : null}
</DialogContent>
<DialogActions>
<Button onClick={handleClose} disabled={isPending}>