Skip to content

Commit

Permalink
fix(line): removed the uncessary line of code
Browse files Browse the repository at this point in the history
  • Loading branch information
Aadarsh805 committed Feb 11, 2023
1 parent 4f0f32c commit 4f799bf
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/pages/guides/[...guide].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ export const getStaticProps: GetStaticProps<DocsProps> = async ({ params }) => {
const menu = await getDocumentsMenu();

const { guide } = params as { guide: string[] };
const processedGuide = guide.map((str) => str.slice(2));
const activeLink = guide.join('/');
const { meta, source } = await getContentsFromSlug(activeLink);

Expand Down

0 comments on commit 4f799bf

Please sign in to comment.