From ab70385bb3154779637364c95b7e0909b2535962 Mon Sep 17 00:00:00 2001 From: Sean Sube Date: Sat, 14 Jun 2025 18:42:04 -0500 Subject: [PATCH] get the client mostly working --- client/src/App.tsx | 1 + client/src/components/StepDetails.tsx | 15 ++++++++++----- 2 files changed, 11 insertions(+), 5 deletions(-) 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}