import { useStoreDispatch } from "../../../hooks/useStoreDispatch"; import VehicleSessionItem from "../../UI/VehicleSessionItem"; const StoreFields = () => { const { storeQuery } = useStoreDispatch(); const totalPending = storeQuery?.data?.totalPending; const totalActive = storeQuery?.data?.totalActive; const totalSent = storeQuery?.data?.totalSent; const totalReceived = storeQuery?.data?.totalReceived; const totalLost = storeQuery?.data?.totalLost; if (storeQuery.isLoading) return