build error fixed

This commit is contained in:
suryacp23 2026-07-24 13:02:07 +05:30
parent 265cde7f8c
commit 2c26f174b0
4 changed files with 2 additions and 7 deletions

View File

@ -12,7 +12,6 @@ import {
Edit3,
MapPin,
Clock,
CheckCircle2,
Phone,
Mail,
Truck,
@ -347,7 +346,6 @@ export function CallDetail({
const storeStatus = String(rowSrc.store_status || data?.store_status || 'No data');
const channel = String(rowSrc.order_received_channel
|| rowSrc.channel || data?.order_received_channel || 'No data');
const geoLocation = String(selectStore.store_location ? (typeof selectStore.store_location === 'string' ? selectStore.store_location : `${selectStore.store_location.latitude}, ${selectStore.store_location.longitude}`) : 'No data');
const storeNotes = selectStore.notes || 'No notes available.';
const currentStateName = String(rowSrc.current_state_name || data?.current_state_name || 'No data');

View File

@ -4,7 +4,7 @@ import { ORDER_BOOKING } from '../../api/config';
import { Card } from '../reusable/Card';
import { Spinner } from '../reusable/Spinner';
import { EmptyState } from '../reusable/EmptyState';
import { Store, User, Package, Calendar, Hash, Mail, FileText, Weight, List, MapPin } from 'lucide-react';
import { Store, User, Package, Calendar, Hash, Mail, Weight, List, MapPin } from 'lucide-react';
export interface WiredDetailViewProps {
instanceId: number | string;

View File

@ -47,9 +47,6 @@ export function GeolocationInput({
}
}, [value]);
const mapCenter = value
? new L.LatLng(value.latitude, value.longitude)
: new L.LatLng(20.5937, 78.9629); // Default to India roughly if no location
return (
<div className="flex flex-col gap-2 font-sans w-full">

View File

@ -4,7 +4,7 @@ import { CallsView } from '../components/rv';
import { CallDetail } from '../components/dv';
import { useEffect, useState } from 'react';
import { Button } from '../components/buttons/Button';
import { Plus, ArrowLeft } from 'lucide-react';
import { Plus } from 'lucide-react';
import { DynamicForm } from '../components/forms/DynamicForm';
import { ORDER_BOOKING } from '../api/config';
import { orderBookingClient } from '../api/clients';