Skip to content

Commit

Permalink
removed unnecessary pages
Browse files Browse the repository at this point in the history
  • Loading branch information
fraincs committed Jun 14, 2024
1 parent d7009ad commit 4e39ea6
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 92 deletions.
7 changes: 3 additions & 4 deletions apps/docs/app/getting-started/[...slug]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,10 @@ export async function generateStaticParams() {
}));
}

export default function GettingStartedPage({ params }: PageProps) {
const [section] = params.slug;

const pages = allGettingStarteds.find(page => page.slug === section);
export default function IconPage({ params }: PageProps) {
const [slug] = params.slug;

const pages = allGettingStarteds.find(page => page.slug === slug);

if (!pages) {
notFound();
Expand Down
29 changes: 0 additions & 29 deletions apps/docs/app/pages/getting-started/individual-packages/page.tsx

This file was deleted.

29 changes: 0 additions & 29 deletions apps/docs/app/pages/getting-started/javascript/page.tsx

This file was deleted.

29 changes: 0 additions & 29 deletions apps/docs/app/pages/getting-started/page.tsx

This file was deleted.

1 change: 0 additions & 1 deletion apps/docs/components/callout/Callout.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import type { Meta, StoryObj } from "@storybook/react";

import Callout from "./Callout.tsx";


const meta = {
title: "components/Callout",
component: Callout
Expand Down

0 comments on commit 4e39ea6

Please sign in to comment.