Skip to content

Commit 6b0cdca

Browse files
authored
chore: publish branch work in packages/docs (2 files) (#5582)
1 parent 3631419 commit 6b0cdca

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

packages/docs/app/components/TemplateCard.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,6 @@ export const featuredTemplates = [
150150
"mail",
151151
"assets",
152152
"content",
153-
"chat",
154153
"dispatch",
155154
"forms",
156155
"plan",

packages/docs/tests/templates-routes.test.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,12 @@ describe("template routes", () => {
232232
}
233233
});
234234

235+
it("keeps Chat out of the public app index", () => {
236+
expect(featuredTemplates.map((template) => template.slug)).not.toContain(
237+
"chat",
238+
);
239+
});
240+
235241
it("maps every template catalog item to a real docs page", () => {
236242
const docsDir = path.resolve(docsRoot, "../core/docs/content");
237243

0 commit comments

Comments
 (0)