Merged in chore/export-name-from-file (pull request #3439)
chore(storagecleaner): import from file to avoid huge footprints on every page * chore(storagecleaner): import from file to avoid huge footprints on every page Approved-by: Anton Gunnarsson
This commit is contained in:
1
packages/booking-flow/lib/stores/enter-details/consts.ts
Normal file
1
packages/booking-flow/lib/stores/enter-details/consts.ts
Normal file
@@ -0,0 +1 @@
|
||||
export const detailsStorageName = "rooms-details-storage"
|
||||
@@ -2,7 +2,7 @@ import { parsePhoneNumberFromString } from "libphonenumber-js"
|
||||
|
||||
import { logger } from "@scandic-hotels/common/logger"
|
||||
|
||||
import { detailsStorageName } from "."
|
||||
import { detailsStorageName } from "./consts"
|
||||
|
||||
import type { User } from "@scandic-hotels/trpc/types/user"
|
||||
|
||||
|
||||
@@ -35,8 +35,6 @@ const defaultGuestState = {
|
||||
zipCode: "",
|
||||
}
|
||||
|
||||
export const detailsStorageName = "rooms-details-storage"
|
||||
|
||||
export type EnterDetailsStore = ReturnType<typeof createDetailsStore>
|
||||
export function createDetailsStore(
|
||||
initialState: InitialState,
|
||||
|
||||
Reference in New Issue
Block a user