Closed mSenad closed 1 month ago
https://github.com/Sephirosu/figma-next-tailwind/blob/5c2265816c9ba4c67ab547a2f2959df413e0d4d8/src/components/Property/PropertyCard.tsx#L30-L36
Each component should have the data ( passed props ) just the ones that are needed. Passing irrelevant data could lead to potential re-renders that are not needed for certain components.
fixed
https://github.com/Sephirosu/figma-next-tailwind/blob/5c2265816c9ba4c67ab547a2f2959df413e0d4d8/src/components/Property/PropertyCard.tsx#L30-L36
Each component should have the data ( passed props ) just the ones that are needed. Passing irrelevant data could lead to potential re-renders that are not needed for certain components.