From 5ef41748ca54a1e25407e26a4d13da31794944cf Mon Sep 17 00:00:00 2001
From: ramnique <30795890+ramnique@users.noreply.github.com>
Date: Thu, 6 Mar 2025 13:49:08 +0530
Subject: [PATCH] use onPress() with heroui button
---
.../components/selectors/profile-selector.tsx | 2 +-
.../components/selectors/scenario-selector.tsx | 2 +-
.../components/selectors/simulation-selector.tsx | 2 +-
.../components/selectors/workflow-selector.tsx | 2 +-
apps/rowboat/app/lib/components/theme-toggle.tsx | 2 +-
.../app/projects/[projectId]/config/app.tsx | 4 ++--
.../app/projects/[projectId]/playground/chat.tsx | 4 ++--
.../[projectId]/playground/compose-box.tsx | 2 +-
.../projects/[projectId]/playground/messages.tsx | 2 +-
.../test/[[...slug]]/profiles_app.tsx | 10 +++++-----
.../[projectId]/test/[[...slug]]/runs_app.tsx | 10 +++++-----
.../test/[[...slug]]/scenarios_app.tsx | 10 +++++-----
.../test/[[...slug]]/simulations_app.tsx | 16 ++++++++--------
.../[projectId]/workflow/agent_config.tsx | 4 ++--
.../projects/[projectId]/workflow/copilot.tsx | 4 ++--
.../[projectId]/workflow/preview-modal.tsx | 2 +-
.../[projectId]/workflow/tool_config.tsx | 2 +-
.../[projectId]/workflow/workflow_editor.tsx | 2 +-
.../[projectId]/workflow/workflow_selector.tsx | 2 +-
19 files changed, 42 insertions(+), 42 deletions(-)
diff --git a/apps/rowboat/app/lib/components/selectors/profile-selector.tsx b/apps/rowboat/app/lib/components/selectors/profile-selector.tsx
index 02919a5e..e9882132 100644
--- a/apps/rowboat/app/lib/components/selectors/profile-selector.tsx
+++ b/apps/rowboat/app/lib/components/selectors/profile-selector.tsx
@@ -53,7 +53,7 @@ export function ProfileSelector({ projectId, isOpen, onOpenChange, onSelect }: P
}
{error &&
{error}
-
+
}
{!loading && !error && <>
{profiles.length === 0 && No profiles found
}
diff --git a/apps/rowboat/app/lib/components/selectors/scenario-selector.tsx b/apps/rowboat/app/lib/components/selectors/scenario-selector.tsx
index efd85aff..07b7d001 100644
--- a/apps/rowboat/app/lib/components/selectors/scenario-selector.tsx
+++ b/apps/rowboat/app/lib/components/selectors/scenario-selector.tsx
@@ -53,7 +53,7 @@ export function ScenarioSelector({ projectId, isOpen, onOpenChange, onSelect }:
}
{error &&
{error}
-
+
}
{!loading && !error && <>
{scenarios.length === 0 && No scenarios found
}
diff --git a/apps/rowboat/app/lib/components/selectors/simulation-selector.tsx b/apps/rowboat/app/lib/components/selectors/simulation-selector.tsx
index 8711c27a..8c140135 100644
--- a/apps/rowboat/app/lib/components/selectors/simulation-selector.tsx
+++ b/apps/rowboat/app/lib/components/selectors/simulation-selector.tsx
@@ -89,7 +89,7 @@ export function SimulationSelector({ projectId, isOpen, onOpenChange, onSelect,
}
{error &&
{error}
-
+
}
{!loading && !error && <>
{simulations.length === 0 && No simulations found
}
diff --git a/apps/rowboat/app/lib/components/selectors/workflow-selector.tsx b/apps/rowboat/app/lib/components/selectors/workflow-selector.tsx
index f86dc95d..b2f81153 100644
--- a/apps/rowboat/app/lib/components/selectors/workflow-selector.tsx
+++ b/apps/rowboat/app/lib/components/selectors/workflow-selector.tsx
@@ -58,7 +58,7 @@ export function WorkflowSelector({ projectId, isOpen, onOpenChange, onSelect }:
}
{error &&
{error}
-
+
}
{!loading && !error && <>
{workflows.length === 0 && No workflows found
}
diff --git a/apps/rowboat/app/lib/components/theme-toggle.tsx b/apps/rowboat/app/lib/components/theme-toggle.tsx
index 7edaa066..fdefbb08 100644
--- a/apps/rowboat/app/lib/components/theme-toggle.tsx
+++ b/apps/rowboat/app/lib/components/theme-toggle.tsx
@@ -11,7 +11,7 @@ export function ThemeToggle() {