refactor: use React.memo

This commit is contained in:
Ruidy Nemausat 2020-06-02 19:31:34 +02:00
parent 80895656b6
commit 01a5c61e81
3 changed files with 3 additions and 3 deletions

View file

@ -41,4 +41,4 @@ const DevProfile: FC<DevSummary> = ({
</div>
);
export default DevProfile;
export default React.memo(DevProfile);

View file

@ -28,4 +28,4 @@ const Landing: FC = () => (
</section>
);
export default Landing;
export default React.memo(Landing);

View file

@ -25,4 +25,4 @@ const NotFound: FC = () => (
</section>
);
export default NotFound;
export default React.memo(NotFound);