feat: make steps of enter details flow dynamic depending on data
This commit is contained in:
5
contexts/Details.ts
Normal file
5
contexts/Details.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
import { createContext } from "react"
|
||||
|
||||
import type { DetailsStore } from "@/types/contexts/details"
|
||||
|
||||
export const DetailsContext = createContext<DetailsStore | null>(null)
|
||||
5
contexts/Steps.ts
Normal file
5
contexts/Steps.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
import { createContext } from "react"
|
||||
|
||||
import type { StepsStore } from "@/types/contexts/steps"
|
||||
|
||||
export const StepsContext = createContext<StepsStore | null>(null)
|
||||
Reference in New Issue
Block a user