From b0ec07c614166f3cc9f042cce161e2339b5405a2 Mon Sep 17 00:00:00 2001 From: Lukas Oppermann Date: Tue, 1 Oct 2024 17:55:19 +0200 Subject: [PATCH] f --- package.json | 2 +- src/components/figma-image.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 32230323d..743038fdb 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "now-build": "yarn build", "lint": "eslint .", "markdownlint": "markdownlint-cli2 \"**/*.{md,mdx}\" \"!.github\" \"!node_modules\"", - "copy:figma-images": "mkdir -p public/static/images && cp -r content/images/figma public/static/images" + "copy:figma-images": "mkdir -p public/images && cp -r content/images/figma public/images" }, "dependencies": { "@github/prettier-config": "^0.0.6", diff --git a/src/components/figma-image.tsx b/src/components/figma-image.tsx index a6ebdda1a..2233bdf69 100644 --- a/src/components/figma-image.tsx +++ b/src/components/figma-image.tsx @@ -7,7 +7,7 @@ type FigmaImageProps = React.ImgHTMLAttributes & { caption?: string } -const FigmaImageDir = '/static/images/figma'; +const FigmaImageDir = '/images/figma'; export const FigmaImage: React.FC = ({src, caption, ...props}) => { // check for missing prop