diff --git a/client/src/features/address-map-picker/ui/AddressMapPicker.tsx b/client/src/features/address-map-picker/ui/AddressMapPicker.tsx
index dfb8786..ce1b8e9 100644
--- a/client/src/features/address-map-picker/ui/AddressMapPicker.tsx
+++ b/client/src/features/address-map-picker/ui/AddressMapPicker.tsx
@@ -14,7 +14,7 @@ import Typography from '@mui/material/Typography'
import * as maplibregl from 'maplibre-gl'
import Map, { Marker, type MapMouseEvent, type MapRef } from 'react-map-gl/maplibre'
import { reverseGeocode, searchPlaces } from '../api/map-geocoding'
-import type { LatLng } from '../model/types'
+import type { LatLng, NominatimItem } from '../model/types'
export function AddressMapPicker(props: {
value: { lat: number; lng: number } | null
diff --git a/client/src/features/order-payment/ui/OrderPaymentSection.tsx b/client/src/features/order-payment/ui/OrderPaymentSection.tsx
index 44ae854..54cb084 100644
--- a/client/src/features/order-payment/ui/OrderPaymentSection.tsx
+++ b/client/src/features/order-payment/ui/OrderPaymentSection.tsx
@@ -8,14 +8,13 @@ import { PaymentDialog } from './PaymentDialog'
type Props = {
status: string
paymentMethod: string | null
- deliveryType: string
totalCents: number
isPayPending: boolean
payError: unknown
onPay: (params: { detail: string; receiptFile: File | null }) => void
}
-export function OrderPaymentSection({ status, paymentMethod, deliveryType, isPayPending, payError, onPay }: Props) {
+export function OrderPaymentSection({ status, paymentMethod, isPayPending, payError, onPay }: Props) {
const payOnPickup = (paymentMethod ?? 'online') === 'on_pickup'
const [payModalOpen, setPayModalOpen] = useState(false)
diff --git a/client/src/features/order-payment/ui/PaymentDialog.tsx b/client/src/features/order-payment/ui/PaymentDialog.tsx
index 73dd832..767b62a 100644
--- a/client/src/features/order-payment/ui/PaymentDialog.tsx
+++ b/client/src/features/order-payment/ui/PaymentDialog.tsx
@@ -127,11 +127,11 @@ export function PaymentDialog({ open, isPending, error, onClose, onSubmit }: Pro
{clientError}
)}
- {error && (
+ {error ? (
{paySubmitErrorMessage(error)}
- )}
+ ) : null}