- memoize all components

- implement metadata context
This commit is contained in:
Amruth Pillai
2020-07-09 14:00:18 +05:30
parent 9e98da038c
commit 3aaef5f730
71 changed files with 489 additions and 396 deletions

View File

@ -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);