feat: configure availability time picker interval by env variable (#12174)
This commit is contained in:
1 parent
26637cda08
commit
0d1b6ea5b2
7 files changed
+54
-2
No files matched your search
@@ -326,7 +326,7 @@ interface IOption {
|
||||
* 23:45:00 (End of day with enough time for 15 min booking)
|
||||
*/
|
||||
/** Begin Time Increments For Select */
|
||||
const INCREMENT = 15;
|
||||
const INCREMENT = Number(process.env.NEXT_PUBLIC_AVAILABILITY_SCHEDULE_INTERVAL) || 15;
|
||||
const useOptions = () => {
|
||||
// Get user so we can determine 12/24 hour format preferences
|
||||
const query = useMeQuery();
|
||||
|
||||
Reference in new issue
Block a user