|
|
@@ -9,6 +9,7 @@ import { Card } from '@/components/ui/card'
|
|
|
import { Button } from '@/components/ui/button'
|
|
|
import { useAuth } from '@/utils/auth'
|
|
|
import { useCart } from '@/utils/cart'
|
|
|
+import { Image } from '@/components/ui/image'
|
|
|
|
|
|
type AddressResponse = InferResponseType<typeof deliveryAddressClient.$get, 200>
|
|
|
type Address = AddressResponse['data'][0]
|
|
|
@@ -214,7 +215,7 @@ export default function OrderSubmitPage() {
|
|
|
|
|
|
{orderItems.map((item) => (
|
|
|
<View key={item.id} className="flex items-center py-3 border-b border-gray-100 last:border-b-0">
|
|
|
- <img
|
|
|
+ <Image
|
|
|
src={item.image}
|
|
|
className="w-16 h-16 rounded-lg mr-3"
|
|
|
mode="aspectFill"
|