Merge master
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
"use client"
|
||||
|
||||
import { usePathname } from "next/navigation"
|
||||
import { useEffect, useMemo, useState } from "react"
|
||||
import { useEffect, useMemo } from "react"
|
||||
|
||||
import { Lang } from "@/constants/languages"
|
||||
import { useStepsStore } from "@/stores/steps"
|
||||
import { useEnterDetailsStore } from "@/stores/enter-details"
|
||||
import useTrackingStore from "@/stores/tracking"
|
||||
|
||||
import { createSDKPageObject } from "@/utils/tracking"
|
||||
@@ -24,7 +24,7 @@ type Props = {
|
||||
|
||||
export default function EnterDetailsTracking(props: Props) {
|
||||
const { initialHotelsTrackingData, userTrackingData, lang } = props
|
||||
const currentStep = useStepsStore((state) => state.currentStep)
|
||||
const currentStep = useEnterDetailsStore((state) => state.currentStep)
|
||||
const { getPageLoadTime, hasRun } = useTrackingStore()
|
||||
const pathName = usePathname()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user