Skip to content

Commit

Permalink
next.config to js
Browse files Browse the repository at this point in the history
  • Loading branch information
RajatRajdeep committed Jan 7, 2025
1 parent 48eed3b commit 74861db
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions next.config.mjs → next.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import createMDX from '@next/mdx';
const createMDX = require('@next/mdx');

/** @type {import('next').NextConfig} */
const nextConfig = {
Expand All @@ -12,4 +12,4 @@ const withMDX = createMDX({
});

// Merge MDX config with Next.js config
export default withMDX(nextConfig);
module.exports = withMDX(nextConfig);
2 changes: 1 addition & 1 deletion src/components/Header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const Header = ({ themeToggle }) => {
<header className="bg-gray-50 dark:bg-gray-900 p-4 shadow-lg sticky top-0 z-10">
<nav className="flex flex-wrap items-center justify-between sm:w-11/12 mx-auto">
<Link
href="#"
href="/"
className="flex items-center space-x-3 rtl:space-x-reverse"
>
<Image
Expand Down

0 comments on commit 74861db

Please sign in to comment.