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:
@@ -5,14 +5,12 @@ import { serverClient } from "../trpc"
|
||||
import type { Lang } from "@scandic-hotels/common/constants/language"
|
||||
import type { HotelInput } from "@scandic-hotels/trpc/types/hotel"
|
||||
|
||||
export const getSiteConfig = cache(async function getMemoizedSiteConfig(
|
||||
lang: Lang
|
||||
) {
|
||||
const getSiteConfig = cache(async function getMemoizedSiteConfig(lang: Lang) {
|
||||
const caller = await serverClient()
|
||||
return caller.contentstack.base.siteConfig({ lang })
|
||||
})
|
||||
|
||||
export const getPageSettings = cache(async function getMemoizedPageSettings(
|
||||
const getPageSettings = cache(async function getMemoizedPageSettings(
|
||||
lang: Lang
|
||||
) {
|
||||
const caller = await serverClient()
|
||||
|
||||
Reference in New Issue
Block a user