mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-17 10:11:31 +10:00
- memoize all components
- implement metadata context
This commit is contained in:
@ -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