Refactor import paths in Content.astro

This commit is contained in:
Max Schmidt 2023-06-17 12:24:56 +02:00
parent 3a2ec92cde
commit b7f60e1f47

View File

@ -1,7 +1,7 @@
--- ---
import { Image } from "@astrojs/image/components"; import { Image } from "@astrojs/image/components";
import { getContentArray } from "src/utils/helpers"; import { getContentArray } from "@/utils/helpers";
import { getImageSrc } from "src/utils/payload"; import { getImageSrc } from "@/utils/payload";
const { content } = Astro.props; const { content } = Astro.props;
const contentArray = getContentArray(content); const contentArray = getContentArray(content);
--- ---