23 lines
461 B
JavaScript
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');
|
|
// }}
|