Skip to content

Commit

Permalink
Optimize import
Browse files Browse the repository at this point in the history
  • Loading branch information
rdp77 committed Oct 18, 2023
1 parent 7877e8e commit c3589df
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/app/meta-data.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import React from "react";
import {WEBSITE_DESCRIPTION, WEBSITE_KEYWORDS} from "@/data/constant/meta-data";
import defaultImage from "../assets/image/avatar.png";
import {description} from "@/data/about";
import {useRouter} from 'next/router';

interface MetaDataProps {
title: string;
Expand Down
2 changes: 0 additions & 2 deletions src/app/portfolio/[slug]/page.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use client'

import React from "react";
import {portfolioData} from "@/data/portfolio";
import Section from "@/components/layouts/section";
Expand Down
4 changes: 3 additions & 1 deletion src/components/layouts/section-list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ interface item {

interface ListSectionProps {
title: string;
items: item[];
items: {
name: string
}[];
}

const ListSection: React.FC<ListSectionProps> = ({title, items}) => {
Expand Down

0 comments on commit c3589df

Please sign in to comment.