diff --git a/apps/web/app/onboarding/welcome/memories-step.tsx b/apps/web/app/onboarding/welcome/memories-step.tsx index a2480b43..8bb4594c 100644 --- a/apps/web/app/onboarding/welcome/memories-step.tsx +++ b/apps/web/app/onboarding/welcome/memories-step.tsx @@ -192,9 +192,7 @@ export function MemoriesStep({ onSubmit }: MemoriesStepProps) { )} >
-

- {errors.linkedin} -

+

{errors.linkedin}

)} diff --git a/apps/web/components/mcp-detail-view.tsx b/apps/web/components/mcp-detail-view.tsx index e0f4ec7d..4cd98c58 100644 --- a/apps/web/components/mcp-detail-view.tsx +++ b/apps/web/components/mcp-detail-view.tsx @@ -126,13 +126,30 @@ export function MCPDetailView({ onBack }: MCPDetailViewProps) { style={{ height: activeStep === 3 ? "calc(100% - 4rem)" : "100%" }} />
-
{ + if (selectedClient) { + setSelectedClient(null) + setActiveStep(1) + } + }} + onKeyDown={(e) => { + if (selectedClient && (e.key === "Enter" || e.key === " ")) { + e.preventDefault() + setSelectedClient(null) + setActiveStep(1) + } + }} + disabled={!selectedClient} > 1 -
+
-

{ + if (selectedClient) { + setSelectedClient(null) + setActiveStep(1) + } + }} + onKeyDown={(e) => { + if ( + selectedClient && + (e.key === "Enter" || e.key === " ") + ) { + e.preventDefault() + setSelectedClient(null) + setActiveStep(1) + } + }} + disabled={!selectedClient} style={ activeStep === 1 ? { @@ -167,7 +206,7 @@ export function MCPDetailView({ onBack }: MCPDetailViewProps) { } > Select your AI client -

+ {selectedClient && (