mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-07-25 01:15:26 +10:00
- memoize all components
- implement metadata context
This commit is contained in:
+2
-2
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user