Completed template

This commit is contained in:
adilallo committed 2026-03-02 22:12:50 -07:00
1 parent d811b87b12
commit 3e3d2881f5
103 files changed
+1410 -622

No files matched your search

+3 -5
View File
@@ -16,7 +16,7 @@ interface CreateFlowProviderProps {
/**
* Provider component for Create Flow state management
*
*
* This is a basic implementation that will be expanded in CR-56
* with full navigation logic, state persistence, and validation.
*/
@@ -25,9 +25,7 @@ export function CreateFlowProvider({
initialStep = null,
}: CreateFlowProviderProps) {
const [state, setState] = useState<CreateFlowState>({});
const [currentStep] = useState<CreateFlowStep | null>(
initialStep,
);
const [currentStep] = useState<CreateFlowStep | null>(initialStep);
const updateState = (updates: Partial<CreateFlowState>) => {
setState((prevState) => ({
@@ -51,7 +49,7 @@ export function CreateFlowProvider({
/**
* Hook to access Create Flow context
*
*
* @throws Error if used outside CreateFlowProvider
* @returns CreateFlowContextValue
*/