Skip to content

Commit 6675e0b

Browse files
committed
chore(webapp): address CodeRabbit review nits
- Remove unused `cond` import from `effect/STM` in `schedules.new` route. - Drop the leading slash from `docsPath("ai-chat/sessions")` in two spots so the generated URL doesn't double up on `/`.
1 parent 1099481 commit 6675e0b

3 files changed

Lines changed: 2 additions & 3 deletions

File tree

  • apps/webapp/app
    • components
    • routes
      • _app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.sessions._index
      • resources.orgs.$organizationSlug.projects.$projectParam.env.$envParam.schedules.new

apps/webapp/app/components/BlankStatePanels.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ export function SessionsNone() {
198198
panelClassName="max-w-full"
199199
accessory={
200200
<LinkButton
201-
to={docsPath("/ai-chat/sessions")}
201+
to={docsPath("ai-chat/sessions")}
202202
variant="docs/small"
203203
LeadingIcon={BookOpenIcon}
204204
>

apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.sessions._index/route.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export default function Page() {
8484
<LinkButton
8585
variant={"docs/small"}
8686
LeadingIcon={BookOpenIcon}
87-
to={docsPath("/ai-chat/sessions")}
87+
to={docsPath("ai-chat/sessions")}
8888
>
8989
Sessions docs
9090
</LinkButton>

apps/webapp/app/routes/resources.orgs.$organizationSlug.projects.$projectParam.env.$envParam.schedules.new/route.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ import { AIGeneratedCronField } from "../resources.orgs.$organizationSlug.projec
5858
import { TimezoneList } from "~/components/scheduled/timezones";
5959
import { logger } from "~/services/logger.server";
6060
import { Spinner } from "~/components/primitives/Spinner";
61-
import { cond } from "effect/STM";
6261
import { useEnvironment } from "~/hooks/useEnvironment";
6362

6463
const cronFormat = `* * * * *

0 commit comments

Comments
 (0)