Compare commits
19 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e0f0700398 | |||
| defd9685e0 | |||
| 1ed62b0d3f | |||
| 91de6df04d | |||
| a5d97d65e1 | |||
| f0128f66b0 | |||
| b33c68feb0 | |||
| 15655e3987 | |||
| d8b3864411 | |||
| 194cbd6ca8 | |||
| d5445c2282 | |||
| dcfefc8371 | |||
| b5f14335c4 | |||
| d44ac949b5 | |||
| a5e939221d | |||
| 833e3e5a9c | |||
| ba1975dd6d | |||
| 3025ef3d21 | |||
| 8564f8af83 |
@@ -228,12 +228,6 @@ export default function BookingPage() {
|
|||||||
}
|
}
|
||||||
}, [agreedToTerms, termsError]);
|
}, [agreedToTerms, termsError]);
|
||||||
|
|
||||||
// Scroll to top when moving between booking steps (esp. mobile, where
|
|
||||||
// the submit button sits at the bottom of a long form)
|
|
||||||
useEffect(() => {
|
|
||||||
window.scrollTo({ top: 0, behavior: 'smooth' });
|
|
||||||
}, [step]);
|
|
||||||
|
|
||||||
const formatDate = (dateStr: string) => formatDateLong(dateStr, locale as 'en' | 'es');
|
const formatDate = (dateStr: string) => formatDateLong(dateStr, locale as 'en' | 'es');
|
||||||
const fmtTime = (dateStr: string) => formatTime(dateStr, locale as 'en' | 'es');
|
const fmtTime = (dateStr: string) => formatTime(dateStr, locale as 'en' | 'es');
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user