Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasoppermann committed Oct 1, 2024
1 parent fc7a875 commit b0ec07c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/components/figma-image.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ type FigmaImageProps = React.ImgHTMLAttributes<HTMLImageElement> & {
caption?: string
}

const FigmaImageDir = '/static/images/figma';
const FigmaImageDir = '/images/figma';

export const FigmaImage: React.FC<FigmaImageProps> = ({src, caption, ...props}) => {
// check for missing prop
Expand Down

0 comments on commit b0ec07c

Please sign in to comment.