mirror of
https://github.com/hazemKrimi/personal-website.git
synced 2026-05-01 18:00:26 +00:00
Refactoring components
This commit is contained in:
+1
-2
@@ -1,4 +1,3 @@
|
||||
import { FC } from 'react';
|
||||
import { getPortfolioProjects } from '../utils/portfolio';
|
||||
import { getBlogPosts } from '../utils/blog';
|
||||
import { GetStaticProps } from 'next';
|
||||
@@ -26,7 +25,7 @@ interface Props {
|
||||
}[];
|
||||
}
|
||||
|
||||
const Index: FC<Props> = ({ blogPosts, portfolioProjects }) => {
|
||||
const Index = ({ blogPosts, portfolioProjects }: Props) => {
|
||||
return (
|
||||
<>
|
||||
<Head>
|
||||
|
||||
Reference in New Issue
Block a user