Skip to content

Commit

Permalink
remvoed default props from navitem
Browse files Browse the repository at this point in the history
  • Loading branch information
joywin2003 committed Oct 7, 2024
1 parent 153ba55 commit c3a89f0
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 17 deletions.
28 changes: 16 additions & 12 deletions next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@
/** @type {import('next').NextConfig} */
const nextConfig = {

images: {
remotePatterns: [
{
protocol: 'https',
hostname: 'tedx-sjec.github.io',
port: '',
pathname: '/**',
},
],
},

images: {
remotePatterns: [
{
protocol: "https",
hostname: "tedx-sjec.github.io",
port: "",
pathname: "/**",
},
{
protocol: "https",
hostname: "startup-template-sage.vercel.app",
port: "",
pathname: "/**",
},
],
},
};

export default nextConfig;
5 changes: 0 additions & 5 deletions src/components/navbar/nav-items.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,5 @@ const NavItem = ({ href, textOne, textTwo }: NavItemProps) => {
);
};

NavItem.defaultProps = {
href: "#",
textOne: "ABOUT",
textTwo: "ABOUT",
};

export default NavItem;

0 comments on commit c3a89f0

Please sign in to comment.