feat: make steps of enter details flow dynamic depending on data

This commit is contained in:
Simon Emanuelsson
2024-11-18 09:13:23 +01:00
parent 3c4907efce
commit 94f693c4f0
62 changed files with 959 additions and 659 deletions

5
contexts/Details.ts Normal file
View 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
View File

@@ -0,0 +1,5 @@
import { createContext } from "react"
import type { StepsStore } from "@/types/contexts/steps"
export const StepsContext = createContext<StepsStore | null>(null)