Add memo optimization

This commit is contained in:
adilallo
2025-10-07 16:50:33 -06:00
parent e3861f6857
commit 2ed878af81
37 changed files with 1852 additions and 1480 deletions
+6 -2
View File
@@ -1,6 +1,8 @@
"use client";
const QuoteDecor = ({ className = "" }) => {
import React, { memo } from "react";
const QuoteDecor = memo(({ className = "" }) => {
return (
<svg
className={`text-[var(--color-surface-inverse-brand-primary)] opacity-100 w-full h-full md:max-w-[640px] lg:max-w-[850px] xl:max-w-[1100px] ${className}`}
@@ -68,6 +70,8 @@ const QuoteDecor = ({ className = "" }) => {
</g>
</svg>
);
};
});
QuoteDecor.displayName = "QuoteDecor";
export default QuoteDecor;