- 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,5 +1,5 @@
import { navigate } from 'gatsby';
import { useEffect } from 'react';
import { memo, useEffect } from 'react';
const NotFound = () => {
useEffect(() => {
@ -9,4 +9,4 @@ const NotFound = () => {
return null;
};
export default NotFound;
export default memo(NotFound);