mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-17 02:01:29 +10:00
- memoize all components
- implement metadata context
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
import React from 'react';
|
||||
import React, { memo } from 'react';
|
||||
import { FaGlobeAmericas, FaPhone } from 'react-icons/fa';
|
||||
import { MdEmail } from 'react-icons/md';
|
||||
|
||||
@ -57,4 +57,4 @@ const Onyx = ({ data, layout, colors }) => {
|
||||
);
|
||||
};
|
||||
|
||||
export default Onyx;
|
||||
export default memo(Onyx);
|
||||
|
||||
Reference in New Issue
Block a user