auto-claude: subtask-4-1 - Wrap PortfolioCard with React.memo to prevent unne
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
'use client';
|
'use client';
|
||||||
|
|
||||||
|
import React from 'react';
|
||||||
import Link from 'next/link';
|
import Link from 'next/link';
|
||||||
import Image from 'next/image';
|
import Image from 'next/image';
|
||||||
import { motion } from 'framer-motion';
|
import { motion } from 'framer-motion';
|
||||||
@@ -122,4 +123,4 @@ const PortfolioCard = ({ project }: PortfolioCardProps) => {
|
|||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
export default PortfolioCard;
|
export default React.memo(PortfolioCard);
|
||||||
|
|||||||
Reference in New Issue
Block a user