Skip to content

Commit 5755c4a

Browse files
committed
refactor(webapp): drop the unused isDemoChatId helper
Never exported from the demo barrel and never called on any branch in the stack.
1 parent 217facd commit 5755c4a

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

  • apps/webapp/app/components/dashboard-agent/demo

apps/webapp/app/components/dashboard-agent/demo/ids.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@ export function demoId(rest: string): string {
1010
return `${DEMO_ID_PREFIX}${rest}`;
1111
}
1212

13-
export function isDemoChatId(id: string | null | undefined): boolean {
14-
return typeof id === "string" && id.startsWith(DEMO_ID_PREFIX);
15-
}
16-
1713
export const DEMO_PROJECT_REF = "proj_demo00000000000000";
1814
export const DEMO_ENVIRONMENT_ID = "env_demo00000000000000";
1915

0 commit comments

Comments
 (0)