Skip to content

Commit

Permalink
fix: build
Browse files Browse the repository at this point in the history
  • Loading branch information
Tanyawat-Arsaga committed Apr 5, 2024
1 parent d5f9bfb commit 6e1add7
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions apps/astro/src/pages/[locale]/projects/[slug]/index.astro
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
//TODO:
import { Image } from 'astro:assets';
import { Box, Stack } from 'styled-system/jsx';
import { getMediaUrl } from 'utils/media';
Expand All @@ -7,16 +8,10 @@ import { Markdown } from '~/components/lib/Markdown';
import { Heading } from '~/components/ui/heading';
import { graphQLSdk } from '~/graphql';
import { ComponentUtilsLink } from '~/graphql/generated/client';
import { localePaths } from '~/i18n/paths';
import MainLayout from '~/layouts/MainLayout.astro';
export const prerender = false;
//TODO:
export async function getStaticPaths() {
return localePaths;
}
const data = await graphQLSdk.getProjectBySlug({
slug: Astro.params.slug
});
Expand Down

0 comments on commit 6e1add7

Please sign in to comment.