diff --git a/client/src/App.tsx b/client/src/App.tsx index d6b54a0..f963da2 100644 --- a/client/src/App.tsx +++ b/client/src/App.tsx @@ -61,6 +61,7 @@ export function App() { step={step!} onPrint={() => handlePrintStep(String(selectedStep.id), '1')} // TODO: Get real user ID onAddNote={(content) => handleAddNote(content, '1')} // TODO: Get real user ID + onBack={handleBack} /> ) : ( void; onAddNote: (content: string) => void; + onBack: () => void; } -export function StepDetails({ step, onPrint, onAddNote }: StepDetailsProps) { +export function StepDetails({ step, onPrint, onAddNote, onBack }: StepDetailsProps) { return ( - - {step.name} - + + + + + {step.name} + {step.instructions}