Fix issues reported in the error reports of find the error while testing eprocure application
This commit is contained in:
@@ -34,7 +34,7 @@ const Tender = () => {
|
||||
(state: any) => state?.selectPurchaseTender,
|
||||
);
|
||||
|
||||
const liveCount = liveTenderData?.totalCount || 0;
|
||||
const liveCount = liveTenderData?.pages?.[0]?.totalCount || 0;
|
||||
const purchaseCount = purchaseTenderData?.pages?.[0]?.totalCount || 0;
|
||||
|
||||
const [selectedTab, setSelectedTab] = useState<'live' | 'purchase'>('live');
|
||||
|
||||
Reference in New Issue
Block a user