diff --git a/pages/about.tsx b/pages/about.tsx
index 1514e87..e7a55f1 100644
--- a/pages/about.tsx
+++ b/pages/about.tsx
@@ -75,7 +75,7 @@ const About: FC = () => {
content='Hazem Krimi is a Full Stack JavaScript Developer and a Software Engineering Enthusiast'
/>
-
+
= ({ blogPosts }) => {
content='Hazem Krimi is a Full Stack JavaScript Developer and a Software Engineering Enthusiast'
/>
-
+
= ({ blogPosts }) => {
export default Index;
-export async function getStaticProps() {
+export const getStaticProps = async () => {
const blogPosts = getBlogPosts();
return {
props: {
blogPosts
}
};
-}
+};
diff --git a/pages/portfolio/index.tsx b/pages/portfolio/index.tsx
index 46769bc..3b47487 100644
--- a/pages/portfolio/index.tsx
+++ b/pages/portfolio/index.tsx
@@ -63,7 +63,7 @@ const Index: FC = ({ portfolioProjects }) => {
content='Hazem Krimi is a Full Stack JavaScript Developer and a Software Engineering Enthusiast'
/>
-
+
= ({ portfolioProjects }) => {
export default Index;
-export async function getStaticProps() {
+export const getStaticProps = async () => {
const portfolioProjects = getPortfolioProjects();
return {
props: {
portfolioProjects
}
};
-}
+};