diff --git a/.github/workflows/pr-annotations.yaml b/.github/workflows/pr-annotations.yaml index 0fe56bf..e48b475 100644 --- a/.github/workflows/pr-annotations.yaml +++ b/.github/workflows/pr-annotations.yaml @@ -27,8 +27,8 @@ jobs: - name: Trunk Check uses: trunk-io/trunk-action@v1 - with: - post-annotations: true # only for fork PRs + # with: + # post-annotations: true # only for fork PRs diff --git a/astro.config.mjs b/astro.config.mjs index fec9ae9..e327cc2 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -3,13 +3,14 @@ import starlight from "@astrojs/starlight"; import markdoc from "@astrojs/markdoc"; import react from "@astrojs/react"; + import tailwind from "@astrojs/tailwind"; // https://astro.build/config export default defineConfig({ integrations: [ starlight({ - title: "HTML Canvas Deep Dive", + title: "HTML Canvas Deep Dive", // social: { // github: 'https://github.com/withastro/starlight', // }, diff --git a/src/components/RedSquareWithResize.tsx b/src/components/RedSquareWithResize.tsx index 50f5e7f..b28c7ec 100644 --- a/src/components/RedSquareWithResize.tsx +++ b/src/components/RedSquareWithResize.tsx @@ -23,7 +23,7 @@ const RedSquareWithResize: React.FC = () => { const context = canvas?.getContext("2d"); //Our draw come here - draw(context); + draw(context ); }, [draw]); return (