From 1633cdcc26faf76dfa2cec6d67d995d59b0a9a8b Mon Sep 17 00:00:00 2001 From: Mandar1jn Date: Thu, 31 Aug 2023 17:38:50 +0200 Subject: [PATCH] Resolve astro check messages --- src/pages/posts/[...page].astro | 2 +- src/pages/projects/[...page].astro | 2 +- src/pages/sandbox/webgpu/compute-shader.astro | 2 +- src/pages/sandbox/webgpu/spinning-cube-indexed.astro | 4 ++-- src/pages/sandbox/webgpu/spinning-cube.astro | 4 ++-- src/pages/sandbox/webgpu/spinning-textured-cube.astro | 4 ++-- src/pages/sandbox/webgpu/spinning-triangle.astro | 4 ++-- src/pages/sandbox/webgpu/triangle.astro | 4 ++-- 8 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/pages/posts/[...page].astro b/src/pages/posts/[...page].astro index 38749e7..ac1595b 100644 --- a/src/pages/posts/[...page].astro +++ b/src/pages/posts/[...page].astro @@ -4,7 +4,7 @@ import BlogPostCard from '@components/BlogPostCard.astro'; import Section from '@components/Section.astro'; import Layout from '@layouts/Layout.astro'; import { sortPostsByDate } from '../../utils/posts'; -import { CollectionEntry, getCollection } from 'astro:content'; +import { type CollectionEntry, getCollection } from 'astro:content'; export async function getStaticPaths({ paginate }: GetStaticPathsOptions) { diff --git a/src/pages/projects/[...page].astro b/src/pages/projects/[...page].astro index 7467604..1d3857c 100644 --- a/src/pages/projects/[...page].astro +++ b/src/pages/projects/[...page].astro @@ -1,6 +1,6 @@ --- import type { GetStaticPathsOptions, Page } from "astro"; -import { CollectionEntry, getCollection } from "astro:content"; +import { type CollectionEntry, getCollection } from "astro:content"; import ProjectCard from "@components/ProjectCard.astro"; import Section from "@components/Section.astro"; import Layout from "@layouts/Layout.astro"; diff --git a/src/pages/sandbox/webgpu/compute-shader.astro b/src/pages/sandbox/webgpu/compute-shader.astro index 8058bf8..05ba1a4 100644 --- a/src/pages/sandbox/webgpu/compute-shader.astro +++ b/src/pages/sandbox/webgpu/compute-shader.astro @@ -14,7 +14,7 @@ import Layout from "@layouts/Layout.astro";