Skip to content
This repository has been archived by the owner on Jan 26, 2025. It is now read-only.

Commit

Permalink
enable dynamicIO
Browse files Browse the repository at this point in the history
  • Loading branch information
emmaboecker committed Dec 14, 2024
1 parent 88b7b31 commit f94fa71
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 5 additions & 1 deletion next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
import { withPayload } from "@payloadcms/next/withPayload";
/** @type {import('next').NextConfig} */
const nextConfig = {};
const nextConfig = {
experimental: {
dynamicIO: true,
},
};

export default withPayload(nextConfig);
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { getPayload } from "payload";
import config from "@payload-config";
import Image from "next/image";
import { Media } from "@/payload-types";
import { FaInfoCircle } from "react-icons/fa";

const payload = await getPayload({ config });

Expand Down

0 comments on commit f94fa71

Please sign in to comment.