Merged in chore/cleanup-booking-flow (pull request #2824)
chore: Cleanup booking-flow after migration * Remove unused types * Clean up exports, types, unused files etc in booking-flow Approved-by: Joakim Jäderberg
This commit is contained in:
@@ -67,7 +67,7 @@ export function calculateRegularPrice({
|
||||
}
|
||||
|
||||
//copied from enter-details/helpers.ts
|
||||
export function add(...nums: (number | string | undefined)[]) {
|
||||
function add(...nums: (number | string | undefined)[]) {
|
||||
return nums.reduce((total: number, num) => {
|
||||
if (typeof num === "undefined") {
|
||||
num = 0
|
||||
|
||||
Reference in New Issue
Block a user