diff --git a/src/app/page.tsx b/src/app/page.tsx index e12ec29..cdcebea 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -53,13 +53,13 @@ const projects = [ icon: '/node.svg', title: 'Vanilla', description: 'JavaScript', - link: '/f', + link: '/g', }, { icon: '/node.svg', title: 'Vanilla', description: 'TypeScript', - link: '/f', + link: '/h', }, ]; @@ -77,7 +77,7 @@ const socialIcons = [ const router = [ { title: 'Docs', - link: '/a', + link: '/a1', }, { title: 'Blog', diff --git a/src/components/extension/tree-view-api/index.tsx b/src/components/extension/tree-view-api/index.tsx index de1f7ca..8d1fc4f 100644 --- a/src/components/extension/tree-view-api/index.tsx +++ b/src/components/extension/tree-view-api/index.tsx @@ -1,3 +1,4 @@ +/* eslint-disable prettier/prettier */ 'use client'; import React, { @@ -236,6 +237,8 @@ const Folder = forwardRef; + const closeElement = closeIcon ?? ; return ( @@ -257,9 +260,7 @@ const Folder = forwardRef
- {expendedItems?.includes(value) - ? openIcon ?? - : closeIcon ?? } + {expendedItems?.includes(value) ? openElement : closeElement} {element}
diff --git a/src/components/home/card-hover-effect/index.tsx b/src/components/home/card-hover-effect/index.tsx index 779c1f4..30cdc9d 100644 --- a/src/components/home/card-hover-effect/index.tsx +++ b/src/components/home/card-hover-effect/index.tsx @@ -64,7 +64,7 @@ export function HoverEffect({
{items.map((item, idx) => ( setHoveredIndex(idx)} diff --git a/src/components/home/footer/index.tsx b/src/components/home/footer/index.tsx index 8f6b977..e724753 100644 --- a/src/components/home/footer/index.tsx +++ b/src/components/home/footer/index.tsx @@ -93,10 +93,10 @@ const renderLink = (products: LinkProps[]) => )); const renderIcon = (icons: Icon[]) => - icons.map((icon) => ( + icons.map((icon, idx) => ( {icon.icon}