Files
CityCards-Website/src/update_offers_script.js
priyanshuvish 97969c079b new src added
2025-10-09 19:03:24 +05:30

23 lines
461 B
JavaScript

// Script to help update the remaining onOffersClick calls
// This is just for reference - we'll do them manually
const casesToUpdate = [
'blog-details',
'how-it-works',
'faq',
'privacy-policy',
'about-us',
'citycards',
'magic-itinerary',
'postcards',
'download-app',
'create-itinerary',
'itinerary-view'
];
// Each should be updated to:
// onOffersClick={() => {
// setOffersSource('products');
// setCurrentPage('offers');
// }}