diff --git a/next.config.js b/next.config.js index 2c4fc74..e23492e 100644 --- a/next.config.js +++ b/next.config.js @@ -86,7 +86,7 @@ module.exports = withBundleAnalyzer({ 'import Post from "@/components/Post"', 'export { getStaticProps } from "@/getStaticProps"', src, - 'export default (props) => ', + 'export default Post', ].join('\n') if (content.includes('')) {